aboutsummaryrefslogtreecommitdiff
path: root/box-drawing.c (unfollow)
Commit message (Expand)AuthorLines
2025-12-26box-drawing: fenv.h: remove, not needed anymoreDaniel Eklöf-1/+0
2025-02-05box-drawings: handle architecture with soft-floatThomas Bonnefille-3/+1
2024-12-08box-drawings: implement octantsDaniel Eklöf-10/+440
2024-02-06Don't use fancy Unicode quotes, stick to ASCIIDaniel Eklöf-1/+1
2023-10-10term: cache font baselineDaniel Eklöf-1/+1
2023-07-25render: apply new baseline calculation everywhereDaniel Eklöf-1/+1
2022-04-03Use circles for rendering light arc box-drawing characters.L3MON4D3-114/+214
2022-02-05fcft: adapt to API changes in fcft-3.xDaniel Eklöf-16/+16
2022-02-04box-drawing: LIGHT ARC: check for sqrt() failuresDaniel Eklöf-0/+12
2021-09-24term: only scale using DPI if *all* monitors have a scaling factor or oneDaniel Eklöf-2/+2
2021-09-19box-drawing: repair debug logsDaniel Eklöf-4/+3
2021-09-14box-drawing: braille: prefer increasing spacing over dot widthDaniel Eklöf-17/+20
2021-09-12box-drawing: NOINLINE brailleDaniel Eklöf-1/+1
2021-09-12box-drawing: add braille charactersDaniel Eklöf-0/+88
2021-08-13pt-or-px: heed the dpi-aware settingDaniel Eklöf-28/+34
2021-08-06box-drawing: fix compiler warningDaniel Eklöf-1/+1
2021-08-06box-drawing: re-align sextants and wedgesDaniel Eklöf-47/+62
2021-08-05box-drawing: don’t inline functions called for multiple codepointsDaniel Eklöf-5/+5
2021-08-05box-drawing: wedges: pre-load x_halfs[] and y_thirds[]Daniel Eklöf-64/+71
2021-08-05box-drawing: wedges: avoid floating point mathDaniel Eklöf-68/+66
2021-08-05box-drawing: pre-calculate sextant x,y offsetsDaniel Eklöf-6/+19
2021-08-05box-drawing: deal with quads in the same as sextantsDaniel Eklöf-79/+42
2021-08-05box-drawing: don’t inline horizontal-one-eighth-block-NDaniel Eklöf-1/+1
2021-08-05box-drawing: don’t inline light diagionalDaniel Eklöf-2/+2
2021-08-05box-drawing: wedges: fix alignment of inverted wedgesDaniel Eklöf-33/+109
2021-08-05box-drawing: wedges: don’t group similar cases togetherDaniel Eklöf-48/+100
2021-08-05box-drawing: add U+1FB3C-U+1FB6F, U+1FB9A and U+1FB9BDaniel Eklöf-4/+217
2021-07-14box-drawing: big-endian support when setting bits manuallyDaniel Eklöf-6/+16
2021-05-17box-drawing: pre-calculate the LIGHT and HEAVY thicknessesDaniel Eklöf-4/+16
2021-05-17box-drawing: always pass ‘buf’ as the first parameterDaniel Eklöf-6/+6
2021-05-17box-drawing: don’t inline _thickness()Daniel Eklöf-1/+1
2021-05-17box-drawing: use fill_boxes() instead of fill_rectangles()Daniel Eklöf-30/+20
2021-05-17box-drawing: increase brightness of solid shadesDaniel Eklöf-3/+3
2021-05-17config: add tweak.box-drawing-solid-shades=yes|noDaniel Eklöf-10/+11
2021-05-17box-drawing: use an a8 buffer when primary font is antialiasedDaniel Eklöf-1/+3
2021-05-17box-drawing: change_buffer_format: abort on pixman failureDaniel Eklöf-0/+6
2021-05-17box-drawing: apply antialiasing to LIGHT ARCsDaniel Eklöf-40/+73
2021-05-17box-drawing: draw_pixman_shade(): named struct initializationDaniel Eklöf-1/+1
2021-05-17box-drawing: fix typo: missing ‘.’ in struct member initializationDaniel Eklöf-1/+1
2021-05-17box-drawing: shades can now be rendered either using solid color, or checker boxDaniel Eklöf-21/+51
2021-05-17box-drawing: temporary “fix” for LIGHT ARCs with a8 buffersDaniel Eklöf-1/+22
2021-05-17box-drawing: swap amount of shade for LIGHT and DARK shadesDaniel Eklöf-2/+2
2021-05-17box-drawing: draw shades as “antialiased” blocksDaniel Eklöf-18/+36
2021-05-17box-drawing: use pixman_image_fill_boxes() for rect()Daniel Eklöf-10/+2
2021-05-17box-drawing: implement LIGHT diagonal lines using pixmanDaniel Eklöf-30/+52
2021-05-17box-drawing: rect(): implement using pixmanDaniel Eklöf-7/+15
2021-05-17box-drawing: {h,v}line: implement using pixmanDaniel Eklöf-14/+20
2021-05-17box-drawing: U+256C - BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL: add missing cornerDaniel Eklöf-1/+1
2021-05-17box-drawing: include pixman image in the buffer we’re passing aroundDaniel Eklöf-2/+6
2021-05-04box-drawing: add Unicode 13 U+1FB70 - U+1FB8BDaniel Eklöf-2/+227
2021-01-16debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes-8/+8
2021-01-15box-drawing: use enum constants in draw_sextant() instead of #defineCraig Barnes-6/+8
2021-01-12box-drawing: line thickness now depends on both DPI and cell sizeDaniel Eklöf-11/+21
2021-01-12box-drawing: LIGHT ARC: ensure row+col are within rangeDaniel Eklöf-8/+12
2021-01-12box-drawing: {h,v}line() + rect(): ensure *end* row/col is >= 0Daniel Eklöf-3/+3
2021-01-11box-drawing: x/y offsets: use pre-calculated offset values from term structDaniel Eklöf-12/+2
2021-01-11config: line-height, letter-spacing: values are in pt by default, but we allow pxDaniel Eklöf-2/+12
2021-01-11box-drawing: compensate for non-zero {horizontal,vertical}-letter-offsetsDaniel Eklöf-2/+3
2021-01-03Use wrappers from macros.h instead of bare GCC attributes/pragmasCraig Barnes-7/+2
2021-01-02box-drawing: drop ‘pragma GCC optimize(“Os”)’Daniel Eklöf-4/+0
2021-01-02box-drawing: codespell: assymetrical -> asymmetricalDaniel Eklöf-2/+2
2021-01-02box-drawing: add macros for {h,v}line_middle_mixed()Daniel Eklöf-24/+28
2021-01-02box-drawing: LIGHT ARC: simpler way to adjust for asymmetrical arc when mirroringDaniel Eklöf-4/+31
2021-01-02box-drawing: LIGHT ARC: use min/max instead of checking range inside loopDaniel Eklöf-10/+5
2021-01-02box-drawing: LIGHT ARC: fix alignment of arcs when thickness is > 1pxDaniel Eklöf-29/+58
2021-01-01box-drawing: LIGHT ARC: test using a circle equation instead of a bezier curveDaniel Eklöf-73/+35
2021-01-01box-drawing: guard GCC pragma with #if defined(__GNUC__)Daniel Eklöf-1/+3
2021-01-01box-drawing: do not inline any of the utility functionsDaniel Eklöf-21/+21
2021-01-01box-drawing: dedicated functions to draw a full horizontal/vertical lineDaniel Eklöf-88/+60
2021-01-01box-drawing: convert {h,v}line_middle_{left,right,up,down}() macros to functionsDaniel Eklöf-53/+56
2021-01-01box-drawing: sextants: convert sextant_*() macros to functionsDaniel Eklöf-12/+41
2021-01-01box-drawing: quadrants: convert quad_*() macros to functionsDaniel Eklöf-25/+44
2021-01-01box-drawing: reduce number of function argumentsDaniel Eklöf-579/+589
2021-01-01box-drawing: force minsize optimizationDaniel Eklöf-0/+2
2021-01-01box-drawing: disable debug outputDaniel Eklöf-1/+1
2021-01-01box-drawing: LIGHT DIAGONALsDaniel Eklöf-6/+50
2021-01-01box-drawing: silence variable-may-not-be-initialized warningsDaniel Eklöf-2/+2
2021-01-01box-drawing: LIGHT/HEAVY DOUBLE/TRIPLE/QUADRUPLE VERTICALDaniel Eklöf-72/+138
2021-01-01box-drawing: LIGHT/HEAVY DOUBLE/TRIPLE/QUADRUPLE HORIZONTALDaniel Eklöf-6/+130
2021-01-01box-drawing: LIGHT ARC: improve symmetry when cell width is evenDaniel Eklöf-4/+24
2021-01-01box-drawing: LIGHT ARC: no need to do floating point since we’re truncatingDaniel Eklöf-4/+4
2021-01-01box-drawing: LIGHT ARC: pixel-perfectDaniel Eklöf-24/+26
2021-01-01box-drawing: wip: LIGHT ARC: U+256d-U+2570Daniel Eklöf-6/+95
2021-01-01box-drawing: {h,v}line(): handle both start/end point being too small *and* too largeDaniel Eklöf-2/+8
2021-01-01box-drawing: thickness(): ensure thickness is *at least* 1pxDaniel Eklöf-1/+1
2021-01-01box-drawing: make sure we never walk outside the (image) bufferDaniel Eklöf-13/+14
2021-01-01box-drawing: wrap {h,v}hline() functions in macros, to shorten argument listDaniel Eklöf-94/+98
2021-01-01box-drawing: SEXTANTS, U+1fb00-1fb3bDaniel Eklöf-0/+135
2021-01-01box-drawing: oops - remove accidental ‘x’Daniel Eklöf-1/+1
2021-01-01box-drawing: remove LOG_WARN from U+259x range - all codepoints have been implementedDaniel Eklöf-4/+1
2021-01-01box_drawing(): mark function as ‘cold’Daniel Eklöf-1/+1
2021-01-01box-drawing: remove __attribute__((__const__)) from thickness()Daniel Eklöf-1/+1
2021-01-01box-drawing: make ‘term’ parameter constDaniel Eklöf-1/+1
2021-01-01box-drawing: DOUBLE lines, U+2550-U+256CDaniel Eklöf-31/+418
2021-01-01box-drawing: LIGHT/MEDIUM/DARK SHADEDaniel Eklöf-3/+39
2021-01-01box-drawing: QUADRANTs: ensure all quads have equal width and hightDaniel Eklöf-4/+4
2021-01-01box-drawing: QUADRANTsDaniel Eklöf-10/+86
2021-01-01box-drawing: RIGHT HALF, UPPER ONE EIGHTH and RIGHT ONE EIGTHDaniel Eklöf-3/+21
2021-01-01box-drawing: use floating point math, and round(), when drawing block elementsDaniel Eklöf-15/+15
2021-01-01box-drawing: first half of the block elements, U+2580-U+258FDaniel Eklöf-18/+126