Comments (10)
I think they look right :)
from butano.
I find the changes on that branch are already on master, so I can merge changes from master directly instead.
from butano.
Test with 25000+ characters in 46055a0 and it works fine.
user_variable_32x32.fnt
common_sc_variable_16x16.fnt
common_jp_variable_16x16.fnt
common_kr_variable_16x16.fnt
common_tc_variable_16x16.fnt
common_hc_variable_16x16.fnt
fonts/user_variable_32x32.fnt font header written in build/user_variable_32x32_sprite_font.h (character number: 22)
../../common/fonts/SimplifiedChinese/common_sc_variable_16x16.fnt font header written in build/common_sc_variable_16x16_sprite_font.h (character number: 3693)
../../common/fonts/Japanese/common_jp_variable_16x16.fnt font header written in build/common_jp_variable_16x16_sprite_font.h (character number: 2708)
../../common/fonts/Korean/common_kr_variable_16x16.fnt font header written in build/common_kr_variable_16x16_sprite_font.h (character number: 2449)
../../common/fonts/TraditionalChinese/common_tc_variable_16x16.fnt font header written in build/common_tc_variable_16x16_sprite_font.h (character number: 11250)
../../common/fonts/TraditionalChineseHK/common_hc_variable_16x16.fnt font header written in build/common_hc_variable_16x16_sprite_font.h (character number: 4914)
Processed character number: 25036
from butano.
I'm working on a new font system that stores the UTF-8 characters map in ROM without character limits.
I have tested this new font system with a korean font with more than 2400 UTF-8 characters and it seems to work fine, but it would be great if I could test your fonts too.
In the examples you have posted I can't find the 3 files needed to create a font (*.bmp
, *.json
and *.h
).
Could you link them?
Thanks.
from butano.
I think op put them on the Fonts:
commit just below the Examples:
Fonts:
from butano.
I'm blind :)
Thanks.
from butano.
I'm working on a new font system that stores the UTF-8 characters map in ROM without character limits.
That's great. I also have the same idea when I find that they are all loaded to WRAM at once, which is inefficient and consumes much time and space.
I think op put them on the
Fonts:
commit just below theExamples:
Yes, you are right.
from butano.
Sadly, I have to break compatibility with old bn::sprite_font
API, but I guess it is worth it.
I'll push a Butano 9.0.0 prerelease soon with the new API.
These header files have been updated to it: sprite_font.zip
from butano.
Could you please push it to a branch first so that I can merge it to mine directly? Thanks a lot.
from butano.
Here's your branch: https://github.com/GValiente/butano/tree/utf8_characters_map
from butano.
Related Issues (20)
- Common Stats includes its own behaviour in its report HOT 2
- Provide template specialization for `bn::array<T, 0>`(empty array) ? HOT 2
- Provide an option to export instruments on `s3m2gbt` HOT 2
- Cannot construct `const` objects with `bn::generic_pool` & `bn::pool` HOT 2
- Provide `value_template_actions`, but storing `Value&` instead? HOT 4
- Error in bn_string.h
- Cannot restore `music` & `dmg_music` from their `position` when sync is enabled HOT 1
- Allow the random value to be discarded HOT 2
- can't open file `C:\\devkitPro\\msys2\\tools\\butano_assets_tool.py`: [Errno 2] No such file or directory
- Is possible to use 16x16 tiles in Regular backgrounds? HOT 2
- [Request] Add hash support for `bn::type_id_t` HOT 1
- [Docs] Same derived class appears 6 times in `bn::igeneric_pool_base` HOT 3
- `bn_best_fit_allocator.h` doesn't include dependent headers HOT 1
- `bn::utf8_character::size()` returns `0` for ASCII characters HOT 1
- Undefined reference to `__assert_func` on `-O0` after newlib was removed HOT 2
- Can't return static local variable, after newlib was removed HOT 4
- [Feature Request] Ability to run user-defined code upon failed BN_ASSERT or BN_ERROR? HOT 7
- std::shared_ptr fails during linking HOT 2
- DMG music master volume is 25% (too quiet) HOT 6
- "VgmIntrVblank failed" when pausing VGM music at the end of the song HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from butano.