[
https://issues.apache.org/jira/browse/FOP-3157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17782264#comment-17782264
]
Maria edited comment on FOP-3157 at 11/2/23 5:55 PM:
-----------------------------------------------------
Hello Simon,
for pcl:
<renderer mime="application/x-pcl">
<rendering>quality</rendering>
<!-{-}<text-rendering>bitmap</text-rendering>{-}->
<text-rendering>auto</text-rendering>
<disable-pjl>false</disable-pjl>
<optimize-resources>true</optimize-resources>
<images mode="color"/>
<fonts>
<!-- register all the fonts found in a directory -->
<directory>C:\Users\maria\Desktop\fonts\</directory>
</fonts>
</renderer>
I also tried with this style of font declaration:
{\{ <font kerning="yes"
embed-url="/System/Library/Fonts/AEHO____.PFB"><font-triplet
name="Avenir-HeavyOblique" style="normal" weight="bold"/></font>}}
Thank you
Kind regards,
Maria
was (Author: JIRAUSER286607):
Hello Simon,
for pcl:
<renderer mime="application/x-pcl">
<rendering>quality</rendering>
<!--<text-rendering>bitmap</text-rendering>-->
<text-rendering>auto</text-rendering>
<disable-pjl>false</disable-pjl>
<optimize-resources>true</optimize-resources>
<images mode="color"/>
<fonts>
<!-- register all the fonts found in a directory -->
<directory>C:\Users\maria\Desktop\fonts\</directory>
</fonts>
</renderer>
I also tried with this style of font declaration:
{{ <font kerning="yes"
embed-url="/System/Library/Fonts/AEHO____.PFB"><font-triplet
name="Avenir-HeavyOblique" style="normal" weight="bold"/></font>}}
> PCL fonts are printed as numbers and punctuation
> ------------------------------------------------
>
> Key: FOP-3157
> URL: https://issues.apache.org/jira/browse/FOP-3157
> Project: FOP
> Issue Type: Bug
> Affects Versions: 2.9
> Reporter: Maria
> Priority: Major
> Attachments: TestPclEmbededFont.fo, TestPclEmbededFont.pcl,
> embeddFontOneLine.fo, embeddFontOneLineSimpleProject.pcl,
> image-2023-11-01-18-58-56-405.png, image-2023-11-01-18-59-28-380.png,
> image-2023-11-01-19-01-44-174.png, image-2023-11-01-19-05-44-582.png,
> image-2023-11-01-19-07-21-317.png, image-2023-11-02-19-36-16-242.png,
> image-2023-11-02-19-37-25-203.png, image-2023-11-02-19-38-00-072.png,
> image-2023-11-02-19-39-17-431.png, image-2023-11-02-19-40-14-808.png,
> printedTestEmbededPclFont.png
>
>
> Hello,
>
> Can you, please, help with embedded fonts in PCL.
>
> Produced with Apache fop 2.9 (embedded in app) a PCL file with embedded fonts.
> When printed on my HP Laser jet P2055dn, all symbols are represented with
> numbers and punctuation.
> In Red Titan it is almost well represented - it has most of the symbols:
> !image-2023-11-01-18-59-28-380.png|width=667,height=226!
>
> And Fonts are in the document:
> !image-2023-11-01-19-01-44-174.png|width=655,height=141!
>
> However, in PCL Paraphernalia (print analysis tool), symbols are represented
> as
> |000090af|Data| |3#4+ 5#4+ $.6.$-&#{*}+ 2. 5#4+ $',,$#-7.$ +'+{*} 2|
> !image-2023-11-01-19-07-21-317.png|width=646,height=249!
>
> This is also the way symbols look like , when pcl file is printed on my PCL5
> printer (HP Laser jet P2055dn).
> I configured Apache Fop with fop.xconf with:
> <renderer mime="application/x-pcl">
> <rendering>quality</rendering>
> <text-rendering>auto</text-rendering>
>
> Attached are the fo file and pcl file and a picture of one of the pages
> printed from the printer.
>
> Thank you in advance
> Wish you a nice day.
> Kind regards,
> Maria
--
This message was sent by Atlassian Jira
(v8.20.10#820010)