summaryrefslogtreecommitdiffstats
path: root/draw.c
diff options
context:
space:
mode:
authorGravatar NRK 2024-07-04 21:27:47 +0000
committerGravatar Hiltjo Posthuma 2024-07-14 11:42:58 +0200
commit59936c7d972587a47d61161279bb8e8abc0b02f3 (patch)
tree52cac2b80581df58cd6ba7fddaa2eafc2fb5e9dc /draw.c
parentoverhaul utf8decode() (diff)
render invalid utf8 sequences as U+FFFD
previously drw_text would do the width calculations as if invalid utf8 sequences were replaced with U+FFFD but would pass the invalid utf8 sequence to xft to render where xft would just cut it off at the first invalid byte. this change makes invalid utf8 render as U+FFFD and avoids sending invalid sequences to xft. the following can be used to check the behavior before and after the patch: $ printf "0\xef1234567\ntest" | dmenu Ref: https://lists.suckless.org/dev/2407/35646.html
Diffstat (limited to 'draw.c')
0 files changed, 0 insertions, 0 deletions
6ff8d781f1a3a3b8fd4becd7122f3e809e1c&follow=1'>style fixes: space after keywords, () with sizeofGravatar Markus Teich 1-103/+103 2015-10-18whitespace fixesGravatar Markus Teich 1-13/+13 2015-10-18fix style path generationGravatar Markus Teich 1-1/+1 2015-10-13Style cleanup.Gravatar Christoph Lohmann 1-2/+1 2015-10-13Fix the way system files are handled at surf startup.Gravatar Quentin Rameau 1-27/+56 2015-10-13Fix atom value parsing in SETPROPGravatar Quentin Rameau 1-1/+3 2015-09-08Remove the pax intermediary.Gravatar Christoph Lohmann 1-1/+0 2015-08-19Fixing the paxctl check.Gravatar Christoph Lohmann 1-1/+1 2015-08-18Add PaX support.Gravatar Christoph Lohmann 1-0/+1 2015-08-18Torified surf is unstableGravatar GhostAV 1-2/+6 2015-07-13Fix type of strictssl property.Gravatar Quentin Rameau 1-1/+1 2015-02-10Removing the debug print from the last commit.Gravatar Christoph Lohmann 1-1/+0 2015-02-10allow buttonrelease customization in config.hGravatar Markus Teich 2-8/+48 2015-02-03surf: see hover URL without changing titleGravatar Greg Reagle 1-0/+10 2015-02-03Some cleanup in style.Gravatar Christoph Lohmann 1-2/+2 2015-01-26Describe the web page indicators too.Gravatar Christoph Lohmann 1-0/+1 2015-01-26It wasn't really clear what was meant with site indicators in the manpage.Gravatar Christoph Lohmann 1-0/+1 2015-01-26surf: documented indicators in man pageGravatar Greg Reagle 1-0/+50 2015-01-20fix stylesheet interna.Gravatar Markus Teich 1-19/+12 2015-01-20Only plumb some URI, when it's ASCII.Gravatar Christoph Lohmann 1-1/+10 2015-01-20Oh my blob!Gravatar Christoph Lohmann 1-0/+1 2015-01-19Data: is part of the browser too.Gravatar Christoph Lohmann 1-0/+1 2015-01-19file:// should be handled in surf too.Gravatar Christoph Lohmann 1-0/+1 2015-01-19Remove the debugging from the testing.Gravatar Christoph Lohmann 1-1/+0 2015-01-19Add some description for the plumb feature.Gravatar Christoph Lohmann 1-0/+3 2015-01-19Add plumbing functionality.Gravatar Christoph Lohmann 2-2/+28 2015-01-18Add a comment about how the styles are iterated.Gravatar Christoph Lohmann 1-0/+4 2015-01-18My CMD was too short. :OGravatar Christoph Lohmann 1-1/+1 2015-01-17Add the manpage changes for the disk cache support.Gravatar Christoph Lohmann 1-1/+7 2015-01-17Adding disk cache support for soup.Gravatar Christoph Lohmann 2-9/+40 2015-01-17Fix extra newline, and add -g where other switches are forwarded.Gravatar Ben Woolley 1-1/+3 2015-01-17Newer libc want _DEFAULT_SOURCE.Gravatar Christoph Lohmann 1-1/+1 2015-01-17Major styles update.Gravatar Christoph Lohmann 3-11/+84 2015-01-02Fix a typo in surf manual.Gravatar Jakukyo Friel 1-1/+1 2014-09-28Minor style change.Gravatar Christoph Lohmann 1-1/+1 2014-09-28Make »Copy image address« work.Gravatar Christoph Lohmann 1-3/+10 2014-08-07Mention xdotool in SEE ALSO too.Gravatar Christoph Lohmann 1-1/+2 2014-08-07Fix the manpage about xid.Gravatar Christoph Lohmann 1-1/+3