https://bugs.documentfoundation.org/show_bug.cgi?id=163000

--- Comment #26 from Patrick (volunteer) <[email protected]> ---
I think I have found the root cause of this bug: there are duplicate PingFang
fonts bundled with macOS Sequoia. One set of PingFang fonts is a downloaded
Type 3 bitmap font file (i.e. the PingFang fonts shown in the Font Book
application) and the other set is a pre-installed TrueType font.

So what I think is happening is that LibreOffice is getting the PingFang
SC/TC/HK/MO glyph numbers for a given text from the Type 3 bitmap font but then
when using Skia or exporting to PDF, LibreOffice tries to extract the bitmaps
for those glyph numbers from the TrueType font.

Not sure how to debug and fix this yet. But for now, here are the details of
the two font files:

Type 3 bitmap font file:
   
/System/Library/AssetsV2/com_apple_MobileAsset_Font7/3419f2a427639ad8c8e139149a287865a90fa17e.asset/AssetData/PingFang.ttc
    Font Descriptor Downloadable/ed: 1 1
    Font Descriptor Format Enum: 1

TrueType font file:
   
/System/Library/PrivateFrameworks/FontServices.framework/Resources/Reserved/PingFangUI.ttc
    Font Descriptor Downloadable/ed: 0 0
    Font Descriptor Format Enum: 3

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to