In our system we want to use PDFBox to change Japanese's PDF to image.
But we found that the font of image is different from the font of PDF, and 
the font of image is differnet every time.

--------------------------------------------------------------------------------------------------------------------------------------------------
Log : 
   Jul 21 17:48:26 document-upload-352-5l2qc document-upload WARN Using 
fallback font YuGothic-Bold for CID-keyed TrueType font MS明朝
       Jul 21 
13:39:07 document-upload-350-h4cxx document-upload WARN Using fallback 
font MS-Mincho for CID-keyed TrueType font MS明朝
--------------------------------------------------------------------------------------------------------------------------------------------------

When we investigate the probles,we also found the the order of font list 
after pdfbox processing is different every time after the server started.
  Coding : List<URI> fonts = fontFileFinder.find();

font of PDF for test:MS-Mincho(MS明朝)

Server start1   Order of font list:[游ゴシックMedium, 游ゴシック, 游明朝
Demibold, 游ゴシックLight, MS明朝, MSゴシック, 游明朝, 游明朝Light]
        The font pdfbox processed MS-Mincho

Server start2   Order of font list:[游ゴシックMedium, 游ゴシック, 游明朝
Demibold, 游ゴシックLight, MSゴシック, MS明朝, 游明朝, 游明朝Light]
        The font pdfbox processed YuGothic-Bold

Server start3   Order of font list:[游ゴシックMedium, 游ゴシック, 游明朝
Demibold, 游ゴシックLight, MSゴシック, MS明朝, 游明朝, 游明朝Light]
        The font pdfbox processed YuGothic-Bold


pdfbox version :2.0.23

1) Why the font of image is different  from the font of PDF.
2) Why the order of font list is different

Uchida

--------------------------------------------------
コベルコシステム株式会社
ソリューション事業部
インダストリーソリューション本部
第2開発部 第2グループ
   内田 一之(ウチダカズユキ) 
 TEL:080-9594-1560
  E-mail:uchida.kazuy...@kobelcosys.co.jp
---------------------------------------------------

Reply via email to