Add curly-pixelated option for blocky undercurl style

Adds a new boolean option `curly-pixelated` that renders undercurls
as alternating 4px blocks instead of smooth trapezoids. This style
works better with bitmap/monospace fonts like GohuFont.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
txf 2026-01-28 18:54:11 +00:00
parent 6fbb9b7d3b
commit ba4d66e3bb
4 changed files with 28 additions and 0 deletions

View file

@ -270,6 +270,7 @@ struct config {
bool use_custom_underline_offset;
struct pt_or_px underline_offset;
struct pt_or_px underline_thickness;
bool curly_pixelated;
struct pt_or_px strikeout_thickness;