Opened 5 years ago

Last modified 6 months ago

#11822 assigned enhancement


Reported by: sambuddhabasu1 Owned by: nobody
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #8555
Has a Patch: no Platform: All


B_UNDERSCORE_FACE has to be implemented to be used as a font face.

Change History (4)

comment:1 by anevilyak, 5 years ago

Component: User InterfaceKits/Interface Kit
Owner: changed from stippi to axeld

comment:2 by jscipione, 5 years ago

Blocking: 8555 added

B_UNDERSCORE_FACE has to be implemented before we can fix #8555

comment:3 by axeld, 2 years ago

Owner: changed from axeld to nobody
Status: newassigned

comment:4 by stippi, 6 months ago

The AGG library used as the app_server vector drawing backend has some useful code for this. One could load a vector glyph, create a "faux bold" version of the glyph using agg::conv_contour, generate the underline vector path, and substract the faux-bold-glyph from the underline. Either using vector boolean operations, or scanline boolean operations (the later is also included in AGG), the re-combine with the original glyph. This will give an underline that has gaps for glyphs that extend below the baseline, such as 'y' or 'g'.

Note: See TracTickets for help on using tickets.