Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

when Report 12.2.x PDFsubset with NLS_LANG = UTF8 characterset , parse uifont.ali with chinese font name cause error output.

NolemDec 9 2023 — edited Dec 11 2023

hi,all ,can reports question can post here?

my customer use report 12.2.1.19 with pdfsubset

shutdown report service ..

1.add in report.sh

export NLS_LANG=AMERICAN_AMERICA.UTF8
export REPORTS_ENHANCED_FONTHANDLING=YES
export REPORTS_ENHANCED_SUBSET=YES

2.edit our Uifont.ali section (ANSI code)

[ Global ]

"標楷體" = "Kaiu"
"細明體" = "MingLiu"
"新細明體" = "PMingLiu"

[ PDF:Subset ]
"Kaiu"..... = "kaiu_All.ttf"
"MingLiu"..... = "PMingLiU_All.ttf"
"PMingLiu"..... = "PMingLiU_All.ttf"

3.AFM

convert TTF to AFM at put in $WL_HOME/guicommon/tk/admin/AFM

Kaiu,MingLiu,PMingLiu

4.PPD

edit screenprinter.ppd,datap462.ppd

add MingLiu,MingLiu,PMingLiu to mappping font alias

ex:

*Font MingLiu: Standard "(001.004S)" Standard ROM
*Font PMingLiu: Standard "(001.004S)" Standard ROM
*Font Kaiu: Standard "(001.004S)" Standard ROM

--restart report service and test out report with pdf format

currupt font output with garbage char , check pdf property , no any subset font in it ..

--check rwEngine_x.log

report can not find font name "標楷體","細明體" ,"新細明體" to any alias name ….



but when we use other charcater set just like “ZHT16BIG5” , everything is fine …

"標楷體","細明體" ,"新細明體" can alias to Kaiu,MingLiu,PMingLiu

and read pdfsubset to our really ttf file …

can anyone can guide us what's wrong while use NLS_ALNG with UTF8 ?

we had lookup and try many way just like , but alway not work with UTF8 NLS_ALNG

Font Subsetting is Not Working in PDF Output when Font Name Includes Unicode Characters and 'NLS_LANG=AMERICAN_AMERICA.UTF8' (Doc ID 416348.1)

we also test as bellow

1.rename ttf font family name from "細明體" to ‘PMINLIU’ font family

2. use PMINLIU english font name in report builder ….

3.set GLOBAL section with PMINLIU in uifont.al

4.set pdf subset with PMINLIU to our new english name ttf file

5.run report service with NLS_LANG =UTF8

now report is successful subset with our ttf file .

so did it report bug and how to fixed it???

regards,Nolem

Comments
Post Details
Added on Dec 9 2023
0 comments
811 views