mirror of
https://github.com/blender/blender
synced 2026-11-22 03:45:13 +03:00
Root cause is, that boundbox was not covering whole text as rendered. Both issues have different cause but similar fix. With italic fonts, the advance_x value is smaller and characters have significant overlap. This caused last zero-width character (\0 or \n) to be often inside of actual character. Fix here is to set line width to be based on width of last visible characer instead of position of zero width character. There are some fonts, where glyph position overlaps with line above. This is fixed by using `BLF_bounds_max()` to calculate height of 1 line, while rest is calculated using height of line spacing. Pull Request: https://projects.blender.org/blender/blender/pulls/145692 |
||
|---|---|---|
| .. | ||
| adjustment_layer.png | ||
| adjustment_layer_stack.png | ||
| adjustment_layer_transformed.png | ||
| blends.png | ||
| color_stacked.png | ||
| exr_multilayer.png | ||
| gaussian_blur.png | ||
| glow.png | ||
| image_stacked.png | ||
| letterbox.png | ||
| letterbox_alpha.png | ||
| mod_bright_contrast.png | ||
| mod_colorbalance.png | ||
| mod_comp.png | ||
| mod_comp_blur_expand.png | ||
| mod_comp_transform.png | ||
| mod_curves.png | ||
| mod_huecorrect.png | ||
| mod_mask.png | ||
| mod_mask_id.png | ||
| mod_mask_id_rot.png | ||
| mod_tonemap.png | ||
| mod_whitebalance.png | ||
| recursive_mask_crash_146943.png | ||
| recursive_render_crash_146484.png | ||
| recursive_scene_strip_crash_147955.png | ||
| subtract.png | ||
| text_long_string.png | ||
| text_options.png | ||
| text_outline_stack.png | ||
| text_shadow_outline.png | ||
| transition_cross.png | ||
| transition_wipe.png | ||