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

Feature Request: Support of variable-width fonts #1

Open
tinglar opened this issue Aug 9, 2020 · 1 comment
Open

Feature Request: Support of variable-width fonts #1

tinglar opened this issue Aug 9, 2020 · 1 comment

Comments

@tinglar
Copy link

tinglar commented Aug 9, 2020

Right now, making a variable-width font with Usenti means manually marking the empty space between glyphs, which can be time-consuming and even error-prone. Trick automating this process, if possible, would be a big help.

@exelotl
Copy link
Owner

exelotl commented Aug 10, 2020

Hey, thanks for the suggestion! I think it's unlikely to be implemented in the way that you have in mind, because an automated approach for this during asset conversion is either going to give suboptimal results, or require manually overriding some of the values which would turn out to be just as fiddly as doing it by hand. For example, " " (space) and various punctuation symbols often need more or less padding than most alphanumeric characters, I find it easier to make those sorts of changes visually in a bitmap editor where I can see them.

I can imagine that using Usenti to create a font with the correct padding is very annoying, because Usenti is a very basic editor. You might be able to speed up your workflow using a more powerful editor like Aseprite or Gimp (Aseprite would definitely be my choice out of those two haha). During this stage I think calculating the width of glyphs automatically is a useful idea, and you could potentially write a plugin/script for your editor which does what you described, using the current grid size and canvas contents, to draw a bounding rectangle behind each glyph.

All that said, I would certainly like Trick to provide the same features as Usenti's export menu at some point in the future. I think this issue covers that, so I'll leave it open :)

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