-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
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
add character spacing support to Text element #293
Comments
Thanks @wyshmily for filing this request! We could potentially start discussing the implementation of this once we've finished open sourcing the rest of the wpf codebase. Do you have an idea of what you'd like the API to look like? |
Just like Control.FontSizeProperty, TextBlock.FontSizeProperty, TextElement.FontSizeProperty, <TextBlock LetterSpacing="5" Text="Some Text" />
<TextBox LetterSpacing="5" Text="Some Text" />
<Grid TextElement.LetterSpacing="5"></Grid> |
I think this was implemented in Silverlight, but I just can't find the API reference, it was somewhere here before: https://docs.microsoft.com/en-us/previous-versions/, maybe the API and some implementation could be reused. |
I think it was this one: Control.CharacterSpacing Property |
I'm also interested in how to achieve custom character spacing. All answers I found online either didn't take into account original kerning, or were far too complex or inefficient. I believe the best way would be to add (or subtract) to existing kerning, since kerning can be disabled using Typography.Kerning="False" if needed. |
Because of this last comment I discovered |
Same here. See #10037 Added request to be able to separately define |
Is this hard?
Or how can I achieve this by myself?
The text was updated successfully, but these errors were encountered: