Thank you for digging into it.

Am I reading your response right that this requires a code change inside
PDFBox?  Is that something that could end up in a future release?

On Thursday, May 25, 2023, Tilman Hausherr <thaush...@t-online.de> wrote:

> 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: users-unsubscr...@pdfbox.apache.org
> For additional commands, e-mail: users-h...@pdfbox.apache.org
>
>

Reply via email to