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?
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?
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.