You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I have decided to use custom font instead of default font. I have a little problem because some glyphs don't stretch up and it looks wierd when I display it. I don't know if there is a problem with my font or there is a bug in the library.
Hey. I converted my font to OTF and I have a little problem. When I add my font, sometimes text is not visible. I thought that there is something wrong with my font, but I added default CSharpMath font and this bug also occurs. See screen below.
Here is the code: Assembly assembly = Assembly.GetExecutingAssembly(); using (Stream stream = assembly.GetManifestResourceStream("latinmodern-math.otf")) { CSharpMath.Settings.GlobalTypefaces.AddOverride(new Typography.OpenFont.OpenFontReader().Read(stream)); } textView.LaTeX = "Sample text $$x+3$$";
As you see, when I AddOverride default CSharpMath font, a part of text is invisible. Is there something wrong with above script?
Describe the bug
Recently I have decided to use custom font instead of default font. I have a little problem because some glyphs don't stretch up and it looks wierd when I display it. I don't know if there is a problem with my font or there is a bug in the library.
To Reproduce
Expected behavior
All glyphs should stretch up.
Additional context
Screens (Newton symbol, square root)
![screen2](https://user-images.githubusercontent.com/41127794/169531390-d4f8fa46-280c-4939-8a5d-236637d08fd1.png)
![screen1](https://user-images.githubusercontent.com/41127794/169531394-86a81ffb-9a54-4140-ba47-6da282d04fe5.png)
The text was updated successfully, but these errors were encountered: