Skip to content
Discussion options

You must be logged in to vote

Do I have to create and pass the SVGFontManager object to SVGDocument object or what?

It is automatically linked to SvgDocument.
Please add fonts to SvgFontManager.

SvgFontManager.PrivateFontPathList.Add(@"path\to\fontfile");  // if file.
SvgFontManager.PrivateFontDataList.Add(fontBytes);  // if binary.
SvgFontManager.LocalizedFamilyNames.Add(new string[] { "Yumin", "游明朝", }); // if needed.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@yatish-infogain
Comment options

@H1Gdev
Comment options

Answer selected by yatish-infogain
@yatish-infogain
Comment options

@H1Gdev
Comment options

@yatish-infogain
Comment options

@ruonan0509
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants