[jira] [Commented] (FOP-3131) AFP with custom font TTF generates space-letter-space

"Joao Goncalves (Jira)" <[email protected]> Mon, 6 Jul 2026 14:53:00 +0000 (UTC)
Newsgroups gmane.text.xml.fop.devel
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/FOP-3131?page=3Dcom.atlassian.j=
ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D180940=
36#comment-18094036 ]=20

Joao Goncalves commented on FOP-3131:
-------------------------------------

[~joheinen] The developer of AFPExplorer confirmed this as a bug in his sof=
tware. I'll be closing this ticket.

> AFP with custom font TTF generates space-letter-space
> -----------------------------------------------------
>
>                 Key: FOP-3131
>                 URL: https://issues.apache.org/jira/browse/FOP-3131
>             Project: FOP
>          Issue Type: Bug
>          Components: font/unqualified
>    Affects Versions: 2.8
>         Environment: FOP 2.8
> Java 17
> Ubuntu 22.04
>            Reporter: jo Heinen
>            Assignee: Joao Goncalves
>            Priority: Major
>         Attachments: afpFontCustom.afp, arial.ttf, fo.xsl, fop.xconf, fop=
PosByCharTrue.xconf, spacemono-regular.ttf, times.ttf
>
>
> I am producing an AFP file with Apache FOP 2.8 and java 17.
> In my fo.xconf file am using a custom font with the TTF format and I have=
 used also a xsl file.=C2=A0
> I have tried several TTF and tried also the attribute _position-by-char=
=3D"false"._
> Altough the file renders properly when viewed with a tool like "Papyrus A=
FP viewer",=C2=A0
> I have noticed that the content has issues when analyzed using AFPexplore=
r.
> In the example below you see that the words are not generated words by wo=
rds but space-letter-space which is causing problems when printing.
> *FPexplorer*
> MDR:=C2=A0=C2=A01=3D A r i a l =C2=A02=3D a r i a l N =C2=A03=3D a r i a =
l N
> =C2=A0
> PTX tag:
> =C2=A0A =C2=A0r =C2=A0i =C2=A0a =C2=A0l =C2=A0a =C2=A0r =C2=A0i =C2=A0a =
=C2=A0l =C2=A0N =C2=A0a =C2=A0r =C2=A0i =C2=A0a =C2=A0l =C2=A0N =C2=A0B
> ESC
> AMB=E2=80=82=E2=80=82=E2=80=82223
> AMI=E2=80=82=E2=80=82=E2=80=82236
> SCFL=E2=80=82=E2=80=821SVI=E2=80=82=E2=80=82=E2=80=8211



--
This message was sent by Atlassian Jira
(v8.20.10#820010)