diff --git a/README.md b/README.md index 7ac3508..38f66fd 100644 --- a/README.md +++ b/README.md @@ -71,12 +71,20 @@ that in this setting, `area` is ignored and the same grid parameters are applied to all block images. ```sh -% fxconv -f uf5x7/ name:uf5x7 charset:unicode grid.size:5x7 +% fxconv -f uf5x7/ name:uf5x7 charset:unicode grid.size:5x7 grid.padding:1 ``` -When using the fxSDK, you can simply create a folder under `assets-fx` or -`assets-cg` with the block files of your choice, for instance -`assets-fx/uf5x7/U+0020.png`. +When using the fxSDK, add the `uf5x7` folder to your list of metadata files and +set the type as `font`. + +``` +uf5x7: # Note that this is a folder + type: font + name: uf5x7 + charset: unicode + grid.size: 5x7 + grid.padding: 1 +``` To use the font, configure it with `dfont()`, then call `dtext()` as usual. Make sure the string is encoded as UTF-8. The `u8` prefix can be used if your