#30051

Hi,

I have downloaded NOTO CJK OTF fonts (https://www.google.com/get/noto/help/cjk/) and converted into TTF from https://convertio.co/.

But when i was using the following command the pd4fonts.properties was not generating any entries for the fonts.

==== Mac cmd prompt out put start ==================

sagar3mac1221:sagar:clarity trunk:/cawork/pdf/pdffont
bash-$> pwd
/cawork/pdf/pdffont

sagar3mac1221:sagar:clarity trunk:/cawork/pdf/pdffont
bash-$> ls /fonts
NotoSansCJKjp-Black.ttf NotoSansCJKkr-Bold.ttf NotoSansCJKsc-DemiLight.ttf NotoSansMonoCJKjp-Regular.ttf
NotoSansCJKjp-Bold.ttf NotoSansCJKkr-DemiLight.ttf NotoSansCJKtc-Black.ttf NotoSansMonoCJKkr-Bold.ttf
NotoSansCJKjp-DemiLight.ttf NotoSansCJKkr-Light.ttf NotoSansCJKtc-Bold.ttf NotoSansMonoCJKkr-Regular.ttf
NotoSansCJKjp-Light.ttf NotoSansCJKkr-Medium.ttf NotoSansCJKtc-DemiLight.ttf NotoSansMonoCJKsc-Bold.ttf
NotoSansCJKjp-Medium.ttf NotoSansCJKkr-Regular.ttf NotoSansCJKtc-Light.ttf NotoSansMonoCJKsc-Regular.ttf
NotoSansCJKjp-Regular.ttf NotoSansCJKkr-Thin.ttf NotoSansCJKtc-Medium.ttf NotoSansMonoCJKtc-Bold.ttf
NotoSansCJKjp-Thin.ttf NotoSansCJKsc-Black.ttf NotoSansCJKtc-Thin.ttf NotoSansMonoCJKtc-Regular.ttf
NotoSansCJKkr-Black.ttf NotoSansCJKsc-Bold.ttf NotoSansMonoCJKjp-Bold.ttf pd4fonts.properties
sagar3mac1221:sagar:clarity trunk:/cawork/pdf/pdffont

bash-$> java -jar pd4ml.jar -configure.fonts /cawork/pdf/pdffont/fonts/

bash-$> cat fonts/pd4fonts.properties
#this is an autogenerated file. please remove manually any references to copyrighted fonts
#Mon Jul 31 15:35:50 PDT 2017

sagar3mac1221:sagar:clarity trunk:/cawork/pdf/pdffont
bash-$>
==== Mac cmd prompt out put ends ==================

Question 1: Why the -configure.fonts utility is not working with the noto ttf fonts and not generating pd4fonts.properties
Question 2: Is there anyway I can get some DEBUG information while running -configure.fonts utility.
Questions 3: Eventually, i need a JAR file which I can place in my app lib folder to load these fonts for PD4ML, Can i just get a jar file with CJK font i can directly use in my java code to generate PDF ?
Question 4: Assuming , somehow get the noto jar with ttf embedding , what should be the right replacement for the java method arguments?
pd4ml.setDefaultTTFs(“Times New Roman”, “Arial”, “Courier New”); // current

pd4ml.setDefaultTTFs(“NotoSansCJK”, “Arial”, “Courier New”); //Proposed??

Please let me know if you need any more information.

Thanks,
Parag Sagar