Holger-Will / code-128-encoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When rendering a code in the browser, is there a minimum recommended font size?

jonsagara opened this issue · comments

I see that you use 50px in your examples. Is that the minimum size we should use?

50px is the size for code128_XL.ttf to produce 1px wide bars. there are other fonts as well with different height to width ratios: https://github.com/Holger-Will/code-128-encoder/tree/master/fonts

Perfect. Thanks!