473,386 Members | 1,785 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,386 software developers and data experts.

Determine which fonts are Human Readable

I need to determine which fonts are human readable.
Webdings, wingdings etc.. are not.
Is there any easy way to accomplish this?
Cheers
JB
Nov 16 '05 #1
4 2937
John,
I need to determine which fonts are human readable.
Webdings, wingdings etc.. are not.
Is there any easy way to accomplish this?


Short of building a neural network trained to recognize whether a set of
characters is "human readable" or not, I would simply create an object that
knows which fonts are not readable. Then in my program, I would ask that
object if the font of interest "IsReadable( )." If it is not one of the
non-readable fonts, then my program would assume it is readable and answer
yes it is readable.

I tend to take the most simple approach when faced with these kinds of
programming issues. If you need help on the neural network solution, let me
know, but plan on spending a bit of time developing it.

I know that doesn't help much, but I hope it helps a little.

Regards,

Randy
Nov 16 '05 #2

"Randy A. Ynchausti" <ra*************@msn.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
John,
I need to determine which fonts are human readable.
Webdings, wingdings etc.. are not.
Is there any easy way to accomplish this?
Short of building a neural network trained to recognize whether a set of
characters is "human readable" or not, I would simply create an object

that knows which fonts are not readable. Then in my program, I would ask that
object if the font of interest "IsReadable( )." If it is not one of the
non-readable fonts, then my program would assume it is readable and answer
yes it is readable.
I was hoping you wouldnt say that :)

I had hoped that someone would have defined somewhere how to determine
whether a font was HR or not.

I suppose you could read wingdings and webdings anyway, if you took the time
to learn them :)
I tend to take the most simple approach when faced with these kinds of
programming issues. If you need help on the neural network solution, let me know, but plan on spending a bit of time developing it.
I suppose I could write a solution to analyze a specific letter in a
particular font and determine whether it conforms with a HR font or not. "W"
is quite hard to mistake.
I think I will have to go your route though, the only problem is this wont
cater for any "extra" fonts on clients machines.

Cheers
JB
I know that doesn't help much, but I hope it helps a little.

Regards,

Randy

Nov 16 '05 #3
Another complication is human-readable by who? For example, on my XP
machine I have the fonts @SimHei and @SimSun, neither of which I can read
because they're Chinese, but to a Chinese person Courier New will be
unreadable.

Best Regards
Julian Nicholls

"John Baro" <jo***@NixSpaMiprimus.com.au.com.au> wrote in message
news:2h************@uni-berlin.de...
I need to determine which fonts are human readable.
Webdings, wingdings etc.. are not.
Is there any easy way to accomplish this?
Cheers
JB

Nov 16 '05 #4
I just had another, far more useful, thought :-)

If you look at the charset setting of the font, you will discover that fonts
like WingDings and Webdings are SYMBOL_CHARSET which is a bit of a giveaway
for not being human-readable text, and the @SimHei and @SimSun fonts
mentioned in my other post are GB3212_CHARSET.

Other CHARSET possibilities include

ANSI_CHARSET, BALTIC_CHARSET, CHINESEBIG5_CHARSET,
DEFAULT_CHARSET, EASTEUROPE_CHARSET, GB2312_CHARSET,
GREEK_CHARSET, HANGUL_CHARSET, MAC_CHARSET,
OEM_CHARSET, RUSSIAN_CHARSET, SHIFTJIS_CHARSET,
TURKISH_CHARSET, VIETNAMESE_CHARSET,
JOHAB_CHARSET, ARABIC_CHARSET,
HEBREW_CHARSET, THAI_CHARSET

All the Best
Julian Nicholls
"John Baro" <jo***@NixSpaMiprimus.com.au.com.au> wrote in message
news:2h************@uni-berlin.de...
I need to determine which fonts are human readable.
Webdings, wingdings etc.. are not.
Is there any easy way to accomplish this?
Cheers
JB

Nov 16 '05 #5

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

Similar topics

4
by: aj | last post by:
DB2 WSE 8.1 FP5 Red Hat Linux AS 2.1 I am working on a Java-Swing based interface for a DB2 database, and want to display more human-readable error meesages to the end user when/if a database...
258
by: Terry Andersen | last post by:
If I have: struct one_{ unsigned int one_1; unsigned short one_2; unsigned short one_3; }; struct two_{ unsigned int two_1;
12
by: Sunner Sun | last post by:
Hi, all Since the OS look both ASCII and binary file as a sequence of bytes, is there any way to determine the file type except to judge the extension? Thank you!
9
by: Adam | last post by:
Can someone please help!! I am trying to figure out what a font is? Assume I am working with a fixed font say Courier 10 point font Question 1: What does this mean 10 point font Question 2:...
5
by: mphanke | last post by:
Hi, can somebody tell me how to convert the date from a Paradox .DB to human readable format? I need to write a tool to convert the 4 Bytes representing the date to a human readable format. ...
12
by: ctclibby | last post by:
Hi all Have a customer that wants a specific font included in her web page design; Comic Sans MS. This is one of the MS core fonts. The problem I have is that some of the *nix browsers do NOT...
70
by: axlq | last post by:
I'm trying to design my style sheets such that my pages have similar-looking fonts different platforms (Linux, Mac, Adobe, X-Windows, MS Windows, etc). The problem is, a font on one platform...
8
by: Joe | last post by:
Hi trying to write some code to determine if user has large/small fonts set on PC thought this would work but it didn't Any suggestions??? Thanks Graphics g = Graphics.FromHwnd(this.Handle);
5
by: =?Utf-8?B?bGpsZXZlbmQy?= | last post by:
Is there any way to do the following: 1. Determine whether ClearType is enabled by the system (under Display Properties - Effects in WinXP). 2. Determine whether a font supports ClearType. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.