Opened 4 years ago

Last modified 6 days 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 Changed 4 years ago by anevilyak

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

comment:2 Changed 4 years ago by jscipione

Blocking: 8555 added

B_UNDERSCORE_FACE has to be implemented before we can fix #8555

comment:3 Changed 2 years ago by axeld

Owner: changed from axeld to nobody
Status: newassigned

comment:4 Changed 6 days ago by stippi

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.