-
|
When I ported to preview5 I am seeing a slight difference in text rendering size such that my "just-the-right-size" text wraps to next line. I saw that quite a bit happened in the area of text rendering. Just wanted to bring this up to double check whether that is an expected change. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
|
If I diff the images and zoom into the lower right you can see that the rendering has changed for "Exit" |
Beta Was this translation helpful? Give feedback.
-
|
Text measurements should not be different. Text rendering is slightly different because Avalonia now uses ClearType rendering on Windows if possible. Will investigate. |
Beta Was this translation helpful? Give feedback.
-
|
Yes, it seems that the measure is the same: However, it may be that the "surounding" pixels may be more and that was just enough to cause the line wrap. |
Beta Was this translation helpful? Give feedback.
-
|
Could you provide me the actual item template you are using so I can repro the measurement issue? |
Beta Was this translation helpful? Give feedback.




In that case Windows might pull another font than Linux? Maybe you can try to embed a given font or install Inter-Font package (Note: Iirc you have to set
.UseInterFont()in Appbuilder)