Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Proportional Font

Author
Message
niansenx
8
Years of Service
User Offline
Joined: 29th Jan 2016
Location:
Posted: 27th Jul 2016 22:11
Hello

I'm trying to make a proportional font. I have my png image of my font and I've created a text file that contains the coordinates, widths and heights of each character. But I can't seem to get the font to work. The documentation seems a bit vague on how to get AppGameKit to read the text file.

How do I make this work?

Thanks!
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 28th Jul 2016 00:05
if you have a font image
utahcon.png
the textfile is
utahcon subimages.txt

char code 0-255:x:y:w:h
example of a real beginning with space at position 22,0 width 46 and height 86
32:22:0:46:86
33:115:0:44:86
34:205:0:49:86
35:294:0:55:86
36:386:0:55:86
37:471:0:69:86
38:565:0:65:86
39:670:0:39:86
40:762:0:39:86
AGK (Steam) V2.0.20 : Windows 10 Pro 64 Bit : AMD (16.3.2) Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)

Login to post a reply

Server time is: 2024-11-25 03:28:09
Your offset time is: 2024-11-25 03:28:09