aboutsummaryrefslogtreecommitdiff
path: root/common/stringop.c
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2022-06-29 21:38:24 +0200
committerFurkan Sahin <furkan-dev@proton.me>2022-06-29 21:38:24 +0200
commit48cc4482a4b11aec6af4bb1ba52f88d1c809e7a9 (patch)
treef1d7476fbc893517ea01ed0f92841219f8b4808a /common/stringop.c
parentad0c2ed8b307746d0c0959a71cdb30382a03663d (diff)
Reject font values that are invalid for pango
Use pango to parse font configuration early, and reject the command as invalid if the value is invalid for pango. Since we're already parsing the font into a `PangoFontDescription`, keep that instance around and avoid re-parsing the font each time we render text. Fixes: https://github.com/swaywm/sway/issues/6805
Diffstat (limited to 'common/stringop.c')
0 files changed, 0 insertions, 0 deletions