Hi!
This issue has been known for awhile. I finally got around to reporting it, but the developer said that it had been fixed.
However, when I updated to the latest 2022.1 beta (which the bug report says its fixed in), it isn’t fixed.
I am on the latest TMP 4.0.0.
As you can see, the 3 main issues. The bottom-right one is the correctly outlined font using Unity’s outline text component. The top-left one is using UIToolkit and text mesh pro font asset.
Is this issue not fixed in 4.0.0?
If the issue that you are reporting is the rounded nature of the outline, this is not a bug. This is simply a by product of signed distance field and dilation where the further you get from the corner / edge the rounder it will be.
Below is an example using TMP with a similar font.
Notice above how the corners are rounded as the outline gets further from the edges.
Notice the same behavior when the outline begin to overlap.
The way the outline component works in UI Text is by duplicating the geometry 4 times and offsetting it by the user specified amount. The first image with transparency shows these 4 copies of the geometry and the offset. The 2nd image is fully opaque.
In the image above, we can achieve a good result because of the square nature of the letter. If we do the same thing with a letter like X, we don’t get the same result.
Again as I mentioned above, this is not a bug but simply how dilation works.
There might be some alternative ways to achieve an acceptable result, I would need more information to provide additional insight such as the font and how you expect letter like X or T to look for instance.
Thanks for the in-depth reply!
Here is the way it looks with T and X. The x is a bit off as its not the the same thickness around the corners of it, but it is definitely acceptable.
I sent you the font file as a pm.
Thanks!
Just wondering if anything came of this?
Thanks!