
It seems unlikely that It would not be licensed for embedding.
Sitka small font free windows 10#
I see that "Sitka Text" is a MS Windows 10 font, freely distributed by windows. No Reputable tool will embed or subset this font is these flags indicate is it not licensed to be embedded. This field contains flags indicating under what circumstances this font is licensed to be embedded. In the Microsoft Typography OpenType Spec OS/2 you will see a field named fsType. However, it is unlikely that the font is not embedding for this reason! A more common reason is that it is not legal to embed this font. For postscript names, you most likely want them to be English, ASCII encoded, for any platform. You will need to look through the table for nameID of 0x0006, and a form (language, platform, encoding) that you can use. In particular, the Postscript name may or may not be present in any given font. There can be an awful lot of entries in the table, or there may be few. (You can find a copy here Microsoft Typography OpenType spec Name). The format of the name table is a part of the TrueType and OpenType specifications. It would be nameId 0x0006, in a form useful for your platform.

Ideally, you would find this in the "name" table of the font.
Sitka small font free pdf#
I also checked the NEWTEXTMETRIC ntmFlags that shows all my fonts are NTM_TT_OPENTYPE.Įdit2: By don't embed I mean that the PDF readers don't show my font as embedded (and Acrobat doesn't show any text)įirst, I'd like to thanks Michael Mckeough and mkl, You guys are Awesome and helped me a lot, I checked my original font and it wasn't damaged and I didn't change the font bytes, but then I finally noticed that if you call GetFontData to a (.ttc) file it will crop the ttcf part and no PDF reader will be able to understand what font it was. Is there any method on WINAPI that gives me that name?Įdit: I only show to my users fonts with the embedding permissions "Editable" and "Installable" which I obtain with the methods EnumFontFamiliesEx and it's CALLBACK function. I obtained the 'name' table with GetFontData but the result didn't return any name I could use. I believe it is because I'm using the name from the LOGFONT object and to these fonts I should be using the PostScript name. I'm adding the possibility to embed Truetype fonts in the PDFs generated by my application, but the fonts "Sitka Text" (and it's variants "Sitka Banner", "Sitka small" and etc) and "Meiryo" don't embed.
