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

Issue using the program. #68

Closed
KakCAT opened this issue Sep 22, 2018 · 2 comments
Closed

Issue using the program. #68

KakCAT opened this issue Sep 22, 2018 · 2 comments

Comments

@KakCAT
Copy link

KakCAT commented Sep 22, 2018

Hello,

all fonts I'm trying (tried 6 so far) are having an artifact on the side that touches bottom-left (it's hard to explain but easy to see). Also the output.png file does not cover the full PNG, but 1/4 of the image, which seems weird although I only have the example.bat defineshape as reference.

The commandline I'm using is, in example,: msdfgen.exe -font arial.ttf 65 -testrender render.png 1024 1024

I've tried binaries 1.4, 1.5 and compiled the https://github.com/ckohnert/msdfgen fork. All give me this problem.

In example, J is verdana, C is ConsolasBold, A is Arial (for arial the problem is minimal , at the bottom left, but still is there).

Any ideas?
Thanks!

outputa
rendera
output
render

outputj
renderj

@programmerjake
Copy link

the artifacts are caused by the character being too close to the edge of the image.

@KakCAT
Copy link
Author

KakCAT commented Sep 22, 2018

thanks, I found out that with -autoframe all results seem to be OK now.

@KakCAT KakCAT closed this as completed Sep 22, 2018
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