PdfSharpCore
PdfSharpCore copied to clipboard
TrueType collection fonts are not yet supported?
I want to use Microsoft YaHei font.
but it tells me TrueType collection fonts are not yet supported? how to use this font?
TTC should be repacked to separated TTF. There is the sample with GDI+: https://forum.pdfsharp.net/viewtopic.php?f=8&t=3976 - without GDI+ it is necessary to read the collection header manually and use the same logic (repack separated TTFs).