Skip to content

Encoding [][][][] characters #368

Closed Answered by jcupitt
fdutey asked this question in Q&A
Aug 17, 2023 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

To debug fontconfig issues, you can use fc-list to show all current fonts, fc-cache to rebuild the font cache, and run progs with (for example):

FC_DEBUG=1 ./watermark.rb ~/pics/nina.jpg x.jpg '<span color="red">Hello</span> <i>world!</i> 😃😂🫠'

To show a crazy amount of debugging information around font file selection.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@fdutey
Comment options

Answer selected by fdutey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants