Opened 10 years ago
Closed 3 years ago
#11822 closed enhancement (fixed)
Implement B_UNDERSCORE_FACE
Reported by: | sambuddhabasu1 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta4 |
Component: | Kits/Interface Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #8555 | |
Platform: | All |
Description
B_UNDERSCORE_FACE has to be implemented to be used as a font face.
Change History (7)
comment:1 by , 10 years ago
Component: | User Interface → Kits/Interface Kit |
---|---|
Owner: | changed from | to
comment:2 by , 10 years ago
Blocking: | 8555 added |
---|
comment:3 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 6 years 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'.
comment:5 by , 4 years ago
Owner: | changed from | to
---|---|
Status: | assigned → in-progress |
comment:6 by , 4 years ago
Owner: | changed from | to
---|---|
Status: | in-progress → assigned |
My experiments: https://review.haiku-os.org/c/haiku/+/3041
I'm not interested in looking further into this for now.
comment:7 by , 3 years ago
Milestone: | R1 → R1/beta4 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Merged in hrev55254.
B_UNDERSCORE_FACE has to be implemented before we can fix #8555