qr-code icon indicating copy to clipboard operation
qr-code copied to clipboard

Replace noto sans with smaller font

Open tonybolzan opened this issue 8 years ago • 3 comments

Apparently used only when label exists 17M vendor/endroid/qrcode 16M vendor/endroid/qrcode/assets/noto_sans.otf

tonybolzan avatar May 02 '17 18:05 tonybolzan

Hi @tonybolzan unfortunately I could not find a smaller font containing also Japanese, Chinese and Korean characters. If you (or anyone else) can provide one, I am happy to replace it.

Thank you.

endroid avatar May 02 '17 22:05 endroid

Please let me know if you find a smaller font compatible with above languages. You can always use your own font using the setFontPath method.

endroid avatar Jun 17 '17 14:06 endroid

Hi @endroid , I understand your logic and 15MB is nothing these days if it means having a global support.

Just out of interest; the Noto Sans is the Noto Sans from Google font, right? Because the ttf files are just shy of 500kb and when I use 'some online ttf to otf convertor', the otf also is about 1 MB.

I have no idea how to test if Chinese and Korean still works (I'm from Belgium, so I'm limited to English, French and Dutch), but you might give it a go?

You can find the ttf and otf files here

phulstaert avatar Jul 13 '22 10:07 phulstaert

https://github.com/satbyy/go-noto-universal/releases

ankurk91 avatar Sep 22 '22 04:09 ankurk91