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

Missing characters in export png #14

Closed
yooni126 opened this issue Dec 30, 2017 · 6 comments
Closed

Missing characters in export png #14

yooni126 opened this issue Dec 30, 2017 · 6 comments

Comments

@yooni126
Copy link

in last issue you said that I must use a font with a lot of standard ASC-II characters
so I use this font :
https://www.dropbox.com/s/1fuigy78xi2jtx5/iransans.fnt?dl=0

and set charset.txt to these text:
ببب ب
تتت ت
ضضض ض
صصص ص
ثثث ث
ققق ق
ففف ف
غغغ غ
ععع ع
ههه ه
خخخ خ
ححح ح
ججج ج
چچچ چ
ششش ش
سسس س
ییی ئ ی ي
ببب ب
للل ل
اآ
ننن ن
ممم م
ککک ک
گگگ گ
ظظظ ظ
ططط ط
زرژ
و
ذد
پپپ پ
َُِّ
":><؟{}|+_()&*!@#$%×÷÷`|;'[].,/\،-=
12345567890

But my export png is still a problem :(
iransans 0

@yooni126
Copy link
Author

oh I forgot that one of my friends gave me a solution but its very strange:
myflashlab/RTL-BitmapFont#1

@soimy
Copy link
Owner

soimy commented Dec 30, 2017

@yooni126 can you post the generated .fnt file, the feeded charset.txt and the exact command/argument in the generation?
There are no more missing glyphs but apparently, not all glyphs are in the font atlas. I need to know why.
Also a side note: charset.txt shall be encoded with UTF-8

@yooni126
Copy link
Author

yes of course
you can download it from this link :
https://www.dropbox.com/s/ngywyipv8b1wl2z/soimy.zip?dl=0

please read readMe file in 2 folders;

@yooni126
Copy link
Author

yooni126 commented Jan 3, 2018

did you see zip file? was it clear?

@soimy
Copy link
Owner

soimy commented Jan 3, 2018

yes, clear enough.
Just back to work, I'll look into it soon and keep you update.
BTW, I'll also try to find a solution on RTL xoffset and xadvance mentioned by myflashlab/RTL-BitmapFont#1

@soimy
Copy link
Owner

soimy commented Jan 7, 2018

Close via f4bc573
Please update your msdf-bmfont-xml to the newest version for testing. If any problem, you are welcomed to re-open this issue.
Read the updated Readme for instruction. Add a flag(--rtl) in CLI to fix Arabic/Persian bugs.

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