Replace global oversampling with overrideable per-viewport oversampling.
This commit is contained in:
@ -67,7 +67,7 @@
|
||||
The OpenType features to enable, disable or set a value for this font. This can be used to enable optional features provided by the font, such as ligatures or alternative glyphs. The list of supported OpenType features varies on a per-font basis.
|
||||
</member>
|
||||
<member name="oversampling" type="float" setter="" getter="" default="0.0">
|
||||
If set to a value greater than [code]0.0[/code], overrides the oversampling factor for the font. This can be used to render the font at a higher or lower resolution than intended without affecting its physical size. In most cases, this should be left at [code]0.0[/code].
|
||||
Deprecated. This property does nothing.
|
||||
</member>
|
||||
<member name="preload" type="Array" setter="" getter="" default="[]">
|
||||
The glyph ranges to prerender. This can avoid stuttering during gameplay when new characters need to be rendered, especially if [member subpixel_positioning] is enabled. The downside of using preloading is that initial project load times will increase, as well as memory usage.
|
||||
|
||||
Reference in New Issue
Block a user