Summary: | Korean fonts don't render correctly | ||
---|---|---|---|
Product: | POI | Reporter: | holgerbrandl <holgerbrandl> |
Component: | HSLF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 3.8-dev | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows Vista | ||
Attachments: | A single slide with some Korean characters |
Sounds like you don't have the required fonts installed on your windows box Can you confirm that: * The required fonts are known to windows? * You've correctly set it up so that Java can find them? Windows is aware of the fonts, as the slide renders correctly in PowerPoint 2010. I've confirmed it on a another windows7 machine, where the problem was the same (PowerPoint renders correctly, POI doesn't) I don't know what I would have to do so that java can find the fonts. How can I test/configure it? It has to do with the fonts. POI renders text using Java2D and this framework renders unicode text using unicode fonts. Try to change the font to Arial Unicode MS. Does the text render correctly ? Yegor Using Arial Unicode MS fixes the problem. Thanks for your help! -H |
Created attachment 28355 [details] A single slide with some Korean characters When using org.apache.poi.hslf.model.Slide.draw(Graphics2D) to render a slide with Korean characters, just questions marks are shown. The problem just occurs when using Windows. POI renders the slide correctly on MacOS.