473,320 Members | 1,612 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Need Help understanding TrueType Fonts

Hi...
I want to write a small app/tool in vb.net that will allow me to read
in a font file, interpret the data and create a file that could be used
in an led sign system. i.e. convert the font data into a dot matrix
format. I seem to be having problems finding some reasonable
information on the internet as to how interpret the font files and
extract the data. I could use some pointers on how to go about doing
this. Any help would be appreciated..

Thanks..
Jim
jf***@tampabay.rr.com
Nov 21 '05 #1
2 1303
"Jim Flanagan" <jf***@tampabay.rr.com> schrieb:
I want to write a small app/tool in vb.net that will allow me to read in a
font file, interpret the data and create a file that could be used in an
led sign system. i.e. convert the font data into a dot matrix format. I
seem to be having problems finding some reasonable information on the
internet as to how interpret the font files and extract the data. I could
use some pointers on how to go about doing this.


I think it's much simpler to draw the text onto a 'Bitmap' object at runtime
in the desired font and then loop through the pixels of the bitmap
('GetPixel') to check which LEDs should be turned on.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #2
Herfried K. Wagner [MVP] wrote:
"Jim Flanagan" <jf***@tampabay.rr.com> schrieb:
I want to write a small app/tool in vb.net that will allow me to read
in a font file, interpret the data and create a file that could be
used in an led sign system. i.e. convert the font data into a dot
matrix format. I seem to be having problems finding some reasonable
information on the internet as to how interpret the font files and
extract the data. I could use some pointers on how to go about doing
this.

I think it's much simpler to draw the text onto a 'Bitmap' object at
runtime in the desired font and then loop through the pixels of the
bitmap ('GetPixel') to check which LEDs should be turned on.

Thanks... However, what I am after is an effecient way to create a set
of LED fonts which could be imbedded into some firmware that I am
writing. As opposed to individually creating each char/num etc and
writing a code module with this information for compiling/linking, I
wanted to pick a font and then have this module written for subsequent
use. Maybe I could still use your approach to do what I want, however...
Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jamie Davison | last post by:
I'm have GD 2.0.1 - php 4.3.5 compiled --with-gd--enable-gd-native-ttf--enable-gd-jis-conv --with-freetype-dir=/usr/local' '--with-t1lib=/usr/local...
0
by: Stefan De Schepper | last post by:
Hi, How can I find out if a font is a truetype or opentype? (VB.Net or C#) Thanks in advance, Stefan.
4
by: Ben | last post by:
Does anyone have any experience using the TrueType bytecode interpreter to display fonts in PHP under Windows? I'm running Windows XP, PHP 4.3.11, GD 2.0.28 with FreeType enabled. It all works...
0
by: Joshua T. Moore | last post by:
I must print with a non-TrueType font for the printer to do specific features. I P/Invoked CreateFont to get the (IntPtr) handle of the font, but System.Drawing.Graphics.DrawString's...
2
by: Just Me | last post by:
PictureControl1 is basicly a PictureBox and g is a Graphics object for the Picturebox. For large fonts (33) it works OK. For smaler fonts (10) there are touches of red around the letters. ...
40
by: apprentice | last post by:
Hello, I'm writing an class library that I imagine people from different countries might be interested in using, so I'm considering what needs to be provided to support foreign languages,...
1
by: RuthC | last post by:
Hi, How to Write text with underline to the image using TrueType fonts please help
0
by: Andreas Tawn | last post by:
-----Original Message----- g] On Behalf Of Steve Holden Can't help with a recipe, but here's the formal spec if want to figure it out yourself. ...
2
by: Steve Holden | last post by:
Fredrik Lundh wrote: Thanks so much, Fredrik. The reason I asked is because I found the specification completely opaque ... regards Steve -- Steve Holden +1 571 484 6266 +1 800 494...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.