-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CFF #75
Comments
Early Preview (YES, with ERRORs) on CFF glyph!sample font =>https://github.com/verybadcat/CSharpMath/blob/master/CSharpMath.Ios/Resources/latinmodern-math.otf pic 1: glyph 0, Latin Modern Math Regular.otf Typography's preview of CFF1 glyph rendering. Just a progression :) At this stage => I skip all stem instructions. Reference image, pic 2: Latin Modern Math Regular.otf from NotePad on Win7 |
Looking great! I hope that this will continue to be worked on so that I can depend CSharpMath on this. You have my spiritual support 😉 |
Scale it :)pic 6, latin-modern-math-regular.otf, 18 pts see : e67ae56 |
Render from GlyphNamepic 8: render from selected GlyphName 'iota.sts' I provide a GlyphNameListUserControl (1) and pic 9: render from selected GlyphName 'Theta.sts' |
If you want to render those symbols (eg. for a math equation). Just find a symbol name and render it. I demonstrate how to render from glyphName here =>
|
Asana Math's Cff fontfrom https://ctan.org/tex-archive/fonts/Asana-Math/ pic 10: Asana-math-regular.otf |
XITS's fontotf font (cff1) from https://github.com/khaledhosny/xits pic 11: XITS otf font |
@EliotJones (https://github.com/UglyToad/PdfPig) Even your goal is to port code from But I invite you to visit here. this lib may help your speed too. :) |
@prepare thank you, I've not had any time to work on PdfPig recently unfortunately due to time constraints but I'll be sure to consult this code when I get back round to it. Out of interest, since GitHub search is not great, where do you handle parsing of the CharStrings and Private dictionary in CFF files? |
|
CFF with CID features=> #201 |
see https://www.microsoft.com/typography/otspec/cff2.htm
http://wwwimages.adobe.com/www.adobe.com/content/dam/acom/en/devnet/font/pdfs/5176.CFF.pdf
The text was updated successfully, but these errors were encountered: