lvgl / lv_utils

Convert images or system fonts to C arrays. Written for LVGL embedded GUI library
https://littlevgl.com
54 stars 38 forks source link

Add list symbol example #25

Closed seyyah closed 5 years ago

seyyah commented 5 years ago

We convert from Unicode to "Decimal NCRs" via [1].

For example

And then we encode to Decimal NCRs via [2].

For example

In the last step, we use this code snippet

php font_conv_core.php "name=font_extra_30&font=fontawesome.ttf&height=30&bpp=8
  &uni_first=61440&uni_last=62190&list=%26%2361457%3B"

:clipboard: References

  1. http://www.endmemo.com/unicode/unicodeconverter.php
  2. https://www.url-encode-decode.com/
embeddedt commented 5 years ago

(cc @kisvegabor)

@seyyah GitHub doesn't support HTML syntax so I'm confused as to what this does. Maybe you should replace the HTML syntax with small pictures.

seyyah commented 5 years ago

In the online font convertor tool [1], we input "decimal NCRs" (for example ) when we use the list properties. BUT we have to use "url encoded" value (for example %26%2362169%3B) when we want to use console tools.

image

:clipboard: Reference

  1. https://littlevgl.com/ttf-font-to-c-array
embeddedt commented 5 years ago

@seyyah Now I understand. Thank you.