Maniphest T71529

Text object automatic bold/italic creation when font's aren't present
Confirmed, LowTO DO

Assigned To
None
Authored By
Campbell Barton (campbellbarton)
Nov 13 2019, 5:40 AM
Tags
  • Modeling
Subscribers
Campbell Barton (campbellbarton)
Duarte Farrajota Ramos (duarteframos)
Harley Acheson (harley)
William Reynish (billreynish)
Tokens
"Like" token, awarded by duarteframos.

Description

Currently the user needs to set bold/italic fonts, which may not always exist.

This task proposes to automatically calculate bold and italic fonts.

  • Italic: adjust slant with slider for how much to slant the text.
  • Bold: thicken the font by expanding the curve before tessellation.

Note, automatic bold-creation is very likely to cause self intersection, we may need to improve filling before this is practical, or - filling may need to be performed on un-expanded charactersl

Event Timeline

Campbell Barton (campbellbarton) triaged this task as Low priority.Nov 13 2019, 5:40 AM
Campbell Barton (campbellbarton) created this task.
Campbell Barton (campbellbarton) mentioned this in T68887: Text object editing rich text and UI/UX.Nov 13 2019, 5:43 AM
Campbell Barton (campbellbarton) mentioned this in T63731: Modeling Module.Nov 13 2019, 5:51 AM
Duarte Farrajota Ramos (duarteframos) awarded a token.Nov 13 2019, 10:42 AM
Duarte Farrajota Ramos (duarteframos) added a subscriber: Duarte Farrajota Ramos (duarteframos).
Harley Acheson (harley) added a subscriber: Harley Acheson (harley).Feb 21 2020, 3:43 AM

Just a (probably) obvious note that FreeType has support for this with FT_Outline_Embolden or FT_GlyphSlot_Embolden (for bold) and FT_Outline_Transform or FT_GlyphSlot_Oblique (for slanting).

https://www.freetype.org/freetype2/docs/reference/ft2-outline_processing.html

Campbell Barton (campbellbarton) moved this task from Backlog to Todo (3D Text Objects) on the Modeling board.Jun 17 2020, 4:45 AM