x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

文字描边没有和文字对齐,有少量偏移

alt text

为文字增加描边的时候,当描边的实际像素大概1或者小于1的时候,很多文字的描边相对于文字都会偏移一点点,显得不像描边效果了。
图里是方正准圆字体,Roboto字体也有这个问题,不过稍微好点。但是在UMG里边用TextBlock多输入一点文字,然后滚动鼠标滚轮切换下显示大小,很容易看到这种现象。比如Roboto在文字大小为12,Zoom-1时,“生”“小”“完”“骤”“多”这几个字会出现偏移。
尝试修改字体的hinting、PixelSnapping、ShapingMethod,并没有用。

Product Version: UE 4.20
Tags:
more ▼

asked Oct 17 '18 at 07:01 AM in Chinese

avatar image

Ygritte
1 1

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hi Ygritte, 这种由于超采样导致的问题目前没有很好的解决方法,您可以选择开启“Separate Fill Alpha”来缓解这个问题。

more ▼

answered Nov 27 '18 at 02:36 PM

avatar image Ygritte Dec 11 '18 at 02:00 PM

貌似并不是超采样的缘故,描边所用的glyph和渲染文字所用的glyph在位置上并不是完全贴合的,如果都用描边的glyph的话就没有这个问题了。但是描边的glyph,位置偏移没有普通glyph那么整齐。大小不一那种字体特别明显

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question