We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
LaTeX:
@"This is normal text, with an equation $e=mc^2$, and here is some \textbf{bold text}, and here is some \textit{italic text}."
Loading fonts:
let getFont(path:string) = use stream = System.IO.File.OpenRead path Typography.OpenFont.OpenFontReader().Read(stream) textPainter.LocalTypefaces <- [ getFont @"Assets\OpenSans-Regular.ttf" getFont @"Assets\OpenSans-Bold.ttf" getFont @"Assets\OpenSans-Italic.ttf" ]
Expected (Microsoft Word rendering):
CSharpMath:
Issues:
Perhaps the TextPainter API should have a settable RegularFont, BoldFont, and ItalicFont?
The text was updated successfully, but these errors were encountered:
The bold and italic fonts do not get used
The bold and italic glyphs used are in the Unicode range https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbols. Fonts should provide glyphs for characters in this range instead of the ASCII range.
Sorry, something went wrong.
Spacing is too large
Looks like a bug.
I assume the FontStyles branch is linked to this bug. Assigned to @charlesroddie.
FontStyles
charlesroddie
No branches or pull requests
LaTeX:
@"This is normal text, with an equation $e=mc^2$, and here is some \textbf{bold text}, and here is some \textit{italic text}."
Loading fonts:
Expected (Microsoft Word rendering):
CSharpMath:
Issues:
Perhaps the TextPainter API should have a settable RegularFont, BoldFont, and ItalicFont?
The text was updated successfully, but these errors were encountered: