-1

Using Apache POI HSLF to create PPT, it doesn't work when I use rt.setFontName("黑体");, but it works in English.

How can I make POI work with non-English-named fonts?

Jean-François Corbett
  • 37,420
  • 30
  • 139
  • 188
jlh
  • 61
  • 3
  • possible duplicate of [Problem with using APACHE-POI to convert PPT to Image](http://stackoverflow.com/questions/2687522/problem-with-using-apache-poi-to-convert-ppt-to-image) – llogiq Jun 19 '15 at 08:59

1 Answers1

0

Looking into POI, there appeared to be a bug report that contains some information about the problem you seem to have. Namely, that report also refers to this SO answer which appears to have some possible solutions.

Lacking Excel with international fonts (or a suitably localized windows version), I cannot try this, alas. Good luck.

Community
  • 1
  • 1
llogiq
  • 13,815
  • 8
  • 40
  • 72