Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean up API #15

Closed
3b opened this issue Mar 27, 2022 · 2 comments
Closed

clean up API #15

3b opened this issue Mar 27, 2022 · 2 comments

Comments

@3b
Copy link
Owner

3b commented Mar 27, 2022

Add missing accessors for font/glyph properties, and get rid of plists

@3b
Copy link
Owner Author

3b commented Dec 11, 2022

mostly done, still some missing exports to decide on and other parts that need cleaned up?

to (maybe) export: space-size, char-data,%kerning, v2

other:

  • space-size should probably just be calculated once and stored in font object?
  • also store preferred fallback character for font once instead of trying 3 things in char-data?
  • add-origins should be called from read-bmfont-* instead of read-bmfont, since people might decide to use a specific loader
  • possibly factor out a place to do post-loading updates to font data like the above?
  • is (chars font) being a hash table part of the API, for things that think calling CHARS per character is too slow? (and is it actually too slow?)

@Shinmera
Copy link
Contributor

In Alloy I use: space-size chars and kernings.

@3b 3b closed this as completed Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants