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
Using SetFontRenderingEmSize(double) to change the size of text on an individual line in the editor using DocumentColorizingTransformer does not render correctly.
Current Behaviour (AvaloniaEdit 11.0.6)
The line height is not being set correctly, and the text baseline is offset from its expected position. However the actual fontsize seems to be correct, and text decorations are still being correctly placed relative to the scaled glyphs.
Using
SetFontRenderingEmSize(double)
to change the size of text on an individual line in the editor usingDocumentColorizingTransformer
does not render correctly.Current Behaviour (AvaloniaEdit 11.0.6)
The line height is not being set correctly, and the text baseline is offset from its expected position. However the actual fontsize seems to be correct, and text decorations are still being correctly placed relative to the scaled glyphs.
Expected Behaviour (AvalonEdit 6.3.0.90)
Example Code
And then during initialization:
Notes
Same behaviour with
FontFamily
set to: Roboto Mono, Consolas, Times New Roman.The text was updated successfully, but these errors were encountered: