Signed Distance Font Update Please

Signed Distance Font Update Please

Postby dalxung » Mon Feb 20, 2017 4:30 pm

I can not success convert BMFont from distance_field.exe, - http://bitsquid.blogspot.kr/2010/04/dis ... ng-of.html

I can success from SDFont - https://www.gamedev.net/topic/491938-si ... font-tool/
oxygine engine + distance_field source code porting please from lonesock's SDFont - http://www.lonesock.net/files/SDFont.zip ( SDFont tool )
NeHeGL with lonesock's SDFont - http://www.quantum-thoughts.net/images/dump/NeHeGL.zip <- SDFont tutorial

-----------------------

because,
oxygine's distance_field support Tools Bugs
BMFont And Ultimate Bitmap Font Generator is not support Font Size 400 for Down Sampling. ( Windows OS's font create tool version )
Font Tool's Create Run Time Error. ( Tool Bug )
How to Down Sampling Font Image Create ? ( Example, korean, chinese - many characters )

how to make SD font
based on article: https://habrahabr.ru/post/282191/
1. install ImageMagick <- windows version
2. generate huge font with size 400pt, set padding 40x40x40x40 <- no create, runtime error
3. convert font image to SD font image using command below:

convert font.png -filter Jinc ( +clone -negate -morphology Distance Euclidean -level 50%,-50% ) -morphology Distance Euclidean -compose Plus -composite -level 43%,57% -resize 12.5% font.png <- ImageMagick Windows Version error ( Convert command is run time error, convert command is not support )
dalxung
 
Posts: 28
Joined: Sat Feb 04, 2017 9:52 am

Return to oxygine-framework

Who is online

Users browsing this forum: No registered users and 2 guests