Comments (5)
SnowB Use this instead ! Thank me later ;)
from fontbm.
Hi @edwinfinch, I just tried to reproduce the problem, here is a picture to compare the glyphs (font size == 88):
Looks pretty the same (considering different rendering engines: WinGDI and Freetype2).
Command line for fontbm:
%fontbm% --font-file %font_file% --output %output% --background-color 0,0,0 --spacing-vert 1 --spacing-horiz 1 --chars 48,49,50,51,52,53,54,55,56,57,58 --font-size 88
Config file for BMFont:
# AngelCode Bitmap Font Generator configuration file
fileVersion=1
# font settings
fontName=Bebas Neue
fontFile=./fonts/BebasNeue-Regular.ttf
charSet=0
fontSize=-88
aa=1
scaleH=100
useSmoothing=1
isBold=0
isItalic=0
useUnicode=1
disableBoxChars=1
outputInvalidCharGlyph=0
dontIncludeKerningPairs=0
useHinting=1
renderFromOutline=0
useClearType=0
# character alignment
paddingDown=0
paddingUp=0
paddingRight=0
paddingLeft=0
spacingHoriz=0
spacingVert=0
useFixedHeight=0
forceZero=0
# output file
outWidth=256
outHeight=256
outBitDepth=32
fontDescFormat=0
fourChnlPacked=0
textureFormat=png
textureCompression=0
alphaChnl=4
redChnl=0
greenChnl=0
blueChnl=0
invA=0
invR=0
invG=0
invB=0
# outline
outlineThickness=0
# selected chars
chars=48-58
# imported icon images
I can try to reproduce the problem with your copy of bebas_regular.ttf, could you please share it?
from fontbm.
Thanks for taking a look at this Vlad!
Here's my copy of Bebas Regular: https://io.lazarus.watch/_resources/other/bebas_regular.ttf
Let me know if I can be of any more help.
from fontbm.
I tried with your font, the same result, then noticed your BMFont data file contains size=104, it means "Match char height" (Font Settings dialog) is not ticked (otherwise this value is negative). In this mode BMFont/fontbm sizes don't correspondent to each other, I think it was the problem.
from fontbm.
added a notify about char sizes to README
from fontbm.
Related Issues (20)
- feature request, solid round stroke color HOT 1
- Glyph quality? HOT 4
- How to turn off smoothing? HOT 1
- Feature Request: Dynamic height HOT 9
- Crash when character has an glyph index but the glyph cannot be loaded HOT 5
- unexpectedly large kerning table HOT 2
- adding some new features HOT 2
- Feature: glyph alignment HOT 3
- Horizontal scaling factor is wrong when image cropped. HOT 1
- Feature suggestion - output outlines HOT 2
- kerning-pairs not available in current release build HOT 4
- fontsize value is negative HOT 3
- Whether the chnl value can be set? HOT 1
- Request: Compiled Version HOT 1
- Some kerning missing HOT 3
- TTF embedded bitmaps handled incorrectly HOT 2
- Italic or bold option HOT 1
- Wrong baseline? HOT 7
- Mac version? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fontbm.