unsubscribe
-----Original Message-----
From: Tilman Hausherr <[email protected]>
Sent: Thursday, May 25, 2023 1:59 AM
To: [email protected]
Subject: Re: PDF with mangled font rendering in some environments
On 25.05.2023 01:02, Daniel Skiles wrote:
> 2023-04-06 14:05:51,245 [admin] [53088500EB38627B70BCA6FA9037CD0C]
> [172.18.0.1] [service={}] DEBUG [catalina-exec-1]
> (FileSystemFontProvider.java:196)
> - Loaded Calibri-Regular from
> /usr/share/fonts/fonts_compat/ms/Calibri/Carlito-Regular.ttf
It is using carlito instead of calibri. However the GIDs are not identical. I
opened both in DTL OTMaster light 3.7 and they are not.
I tried to simulate this by making it look that I don't have calibri but I
failed, it didn't use Carlito instead it used Liberation Sans and this also
produced garbled fonts.
I also tried to change the code so that it avoids the "Using non-embedded GIDs
in font" segment and that worked.
I think the problem is that the logic in that part of the code applies only
when the found font is the exact same one that should have been embedded.
Tilman
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]