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

Scope to add more fine grained size, padding, and shifting? #4

Open
mdtauk opened this issue Jan 1, 2025 · 1 comment
Open

Scope to add more fine grained size, padding, and shifting? #4

mdtauk opened this issue Jan 1, 2025 · 1 comment

Comments

@mdtauk
Copy link

mdtauk commented Jan 1, 2025

I am not sure if any future work is being done with this tool, but I was wondering if support could be added to ad more refinement to the size, shift, and padding for the font texture creation.

Using the original font (Chiaro) and attempting to dial in values I feel would match the original, produces different pixel results.

I was wondering if adding sub-pixel values could produce closer to the original, results?

image

The image on the Left is the original texture from the game
The image on the Right is what is output using the settings above
image

With a shift value of 0.5 it could thicken the top and bottom strokes, and give a more pleasing shape, or possibly a size of 14.75 etc.

Does the Truetype and Img output code support that kind of positioning for the glyphs?

@mdtauk
Copy link
Author

mdtauk commented Jan 2, 2025

In Photoshop you can make fractional changes that make them much more similar...
image

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

1 participant