开发者

Converting variable width font to monospaced bitmap font

开发者 https://www.devze.com 2023-03-21 03:59 出处:网络
I\'ve been working on an iPhone game and ran across a problem. I got a nice (variable width) ttf font which I\'d like to convert to bitmap, but eve开发者_开发知识库ry generator I find keeps it variabl

I've been working on an iPhone game and ran across a problem. I got a nice (variable width) ttf font which I'd like to convert to bitmap, but eve开发者_开发知识库ry generator I find keeps it variable width. How can I get myself a fixed-width bitmap font (from a ttf)


It is easiest to select a monospaced font such as Courier.

The other option is to space each letter out yourself. THe spacing will have to be a bit wider than the width of 'W'.


Okay, I redesigned my app to work with variable width fonts now. Case closed.

0

精彩评论

暂无评论...
验证码 换一张
取 消