Skip to content
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

Possible to isolate OpenType in a separate project ? #67

Open
ststeiger opened this issue Sep 12, 2018 · 0 comments
Open

Possible to isolate OpenType in a separate project ? #67

ststeiger opened this issue Sep 12, 2018 · 0 comments
Labels

Comments

@ststeiger
Copy link

ststeiger commented Sep 12, 2018

I need the function
public OpenTypeFontface CreateFontSubSet(Dictionary<int, object> glyphs, bool cidFont)
found in
OpenType\Fonts.OpenType\OpenTypeFontface.cs
in another project, together with XFontMetrics.

I've isolated the OpenType code for my purposes here:
https://github.com/ststeiger/PdfSharpNetStandard/tree/master/OpenType

However, it is intertwined with the PdfSharp code (XFont, XFontSource, XGlyphTypeface, XPrivateFontCollection, FontFactory, some enums, etc).

Would it be possible to refactor, and isolate OpenType in a way that it doesn't depend on PdfSharp ?
Extra bonus points if GDI components could be avoided as well (GDI doesn't work on Azure Web App).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants