f

#### X11: how to find out whether font uses font-specific encoding?

Hi,

I need to find out under X11 whether a given font (I have it's file
path, too) uses font-specific encoding or not (standard encoding).

"Symbol" fonts such as Webdings, Symbol or Dingbats use font-specific
encoding. (I need this to know because when exporting to PDF I need to
set "winansi" or "builtin" as parameter to the corresponding
function).

I found out about *.afm files which contain a line such as

EncodingScheme FontSpecific

which would indicate a "symbol" font. The problem is that on my Linux
box all *.afm files which belong to the TrueType have this entry, that
is also an Arial font would be classified as "symbol" font! I suspect
that my *.afm files are somewhat broken (they were generated by some
KDE font installer program).

Another problem is that I do not have *.afm files for all fonts on my
platform (and on our DEC I didn't any at all).

Another possibility would be to parse the XLFD I guess. The problem I
have is that I do not have an XLFD at the point of font information
assembly (we use Qt and the class QFont - QFont.rawName() would
actually provide an XLFD, but only the font has actually been used
"for real" I guess (once it has been painted and the font file
resolved).

Hence my question: what is the best way to go under X11 to find out
whether a font is a "symbol" font or not? Parse the *.afm or XLFD?
Other possibilities?

Thanks, Oliver

 0
tknoll (13)
8/30/2004 2:16:37 PM
comp.fonts 4623 articles. 2 followers. margulisd (51) is leader.

5 Replies
1064 Views

Similar Articles

[PageSpeed] 44

On 30 Aug 2004, Oliver Knoll wrote:

> I need to find out under X11 whether a given font (I have it's file
> path, too)

PostScript? TrueType? Bitmap?

> uses font-specific encoding or not (standard encoding).

What do you mean by "standard encoding"?

> "Symbol" fonts such as Webdings, Symbol or Dingbats use font-specific
> encoding.

Yes, but the reverse is not true.

> I found out about *.afm files which contain a line such as
>    EncodingScheme FontSpecific
> which would indicate a "symbol" font.

so you must use FontSpecific for a Greek font in ISO-8859-7 encoding.

> Another problem is that I do not have *.afm files for all fonts on my
> platform (and on our DEC I didn't any at all).

> Hence my question: what is the best way to go under X11 to find out
> whether a font is a "symbol" font or not?

What do you mean by "symbol font"? I suspect you mess with "FontSpecific".

Inspect the files fonts.dir and fonts.scale.


 0
Andreas
8/30/2004 2:43:21 PM
Andreas Prilop <nhtcapri@rrzn-user.uni-hannover.de> wrote in message news:<Pine.GSO.4.44.0408301634590.5052-100000@s5b003>...
> On 30 Aug 2004, Oliver Knoll wrote:
>
> > I need to find out under X11 whether a given font (I have it's file
> > path, too)
>
> PostScript? TrueType? Bitmap?

TrueType and Type 1 (= PostScript?), but basically any font which is
reported by Qt - I think Qt skips bitmapped fonts, but not sure, they
are of no big use for PDF export anyway, so let's say TrueType and
Type 1 (and Speedo fonts).

>
> > uses font-specific encoding or not (standard encoding).
>
> What do you mean by "standard encoding"?

For example, but actually anything but "FontSpecific".

>
> > "Symbol" fonts such as Webdings, Symbol or Dingbats use font-specific
> > encoding.
>
> Yes, but the reverse is not true.

You mean a "FontSpecific" encoded font can also be a font such as
Arial? In fact I just had a look at all the *.afm files which were
generated by some tool from KDE (some font installer), and ALL the
generated *.afm files had the entry

EncodingScheme FonstSpecific

so this entry is pretty useless for me!

>
> > I found out about *.afm files which contain a line such as
> >    EncodingScheme FontSpecific
> > which would indicate a "symbol" font.
>
> so you must use FontSpecific for a Greek font in ISO-8859-7 encoding.

Huh? I'm no font specialist, but as I understand you, the entry
"EncodingScheme" is of no use to me whether the font has the encoding
scheme "hardcoded".
>
> > Another problem is that I do not have *.afm files for all fonts on my
> > platform (and on our DEC I didn't any at all).
>

Yes, so the solution of reading *.afm files is dead for me anyway and
I can forget about the above.
>
> > Hence my question: what is the best way to go under X11 to find out
> > whether a font is a "symbol" font or not?
>
> What do you mean by "symbol font"? I suspect you mess with "FontSpecific".

Most probably I mess with FontSpecific. What I mean with "symbol font"
are fonts which have the encoding specified in the font file itself,
i.e. the mapping of some code to some glyph is hardcoded. The fonts
"Symbol", "Webdings", "Wingdings" are such examples. For those fonts I
need to indicate the option "builtin" instead of "winansi" for the
PDFLib which we use for PDF export.

>
> Inspect the files fonts.dir and fonts.scale.

That's of no use, either: for example for the font symbol.ttf I have 2
entries in fonts.dir:

symbol.ttf -monotype-Symbol-medium-r-normal--0-0-0-0-p-0-iso8859-1
symbol.ttf -monotype-Symbol-medium-r-normal--0-0-0-0-p-0-microsoft-symbol

Now the last line would indicate that it is indeed a "symbol font",
but the problem is that I don't know which line to take in general
when parsing the fonts.dir. And Qt reports the first XLFD for the
constructed QFont anyway...

Note that when using Xft (freetype) I actually have a working
solution:

engine = font.d->engineForScript( QFont::Unicode );

XftPattern *pattern = static_cast<QFontEngineXft
*>(engine)->pattern();
char *encoding = 0;
XftPatternGetString (pattern, XFT_ENCODING, 0, &encoding);
if (encoding)
{
if (strcmp (encoding, "glyphs-fontspecific") == 0)
{
return TRUE;
}
}
... // try to find encoding with XLFD

return FALSE;

The problem with that is we don't have Xft support on all platforms.
Do I have to parse the font files myself (e.g. write a parser for
TrueType, Type 1, ...)?

Does anyone know if libXFont can do this for me? (Haven't found any
docs about the API so far on the net...)

Thanks a lot, Oliver

 0
tknoll
8/31/2004 1:17:19 PM
On 31 Aug 2004, Oliver Knoll wrote:

> You mean a "FontSpecific" encoded font can also be a font such as
> Arial?

Yes, it could.

> In fact I just had a look at all the *.afm files which were
> generated by some tool from KDE (some font installer), and ALL the
> generated *.afm files had the entry

Which version? Kfontinst from KDE 3.2.0 is broken.
<http://bugs.kde.org/show_bug.cgi?id=78089>

> That's of no use, either: for example for the font symbol.ttf I have 2
> entries in fonts.dir:
> symbol.ttf -monotype-Symbol-medium-r-normal--0-0-0-0-p-0-iso8859-1

Really bad! This is for broken programs to show, for example,
<font face="Symbol">q</font>
as a Greek theta. See
http://ppewww.ph.gla.ac.uk/~flavell/charset/fontface-harmful.html

> symbol.ttf -monotype-Symbol-medium-r-normal--0-0-0-0-p-0-microsoft-symbol

Okay.

> The problem with that is we don't have Xft support on all platforms.
> Do I have to parse the font files myself (e.g. write a parser for
> TrueType, Type 1, ...)?

Sorry, don't know.


 0
Andreas
8/31/2004 4:54:42 PM
Andreas Prilop <nhtcapri@rrzn-user.uni-hannover.de> wrote in message news:<Pine.GSO.4.44.0408311847310.6972-100000@s5b003>...
> On 31 Aug 2004, Oliver Knoll wrote:
>
> > You mean a "FontSpecific" encoded font can also be a font such as
> > Arial?
>
> Yes, it could.

So that means this entry is useless for me when it comes to deciding
whether a font has the encoding "hardcoded in the font file".

>
> > In fact I just had a look at all the *.afm files which were
> > generated by some tool from KDE (some font installer), and ALL the
> > generated *.afm files had the entry
>
> Which version? Kfontinst from KDE 3.2.0 is broken.
>  <http://bugs.kde.org/show_bug.cgi?id=78089>

Huh, so my *.afm files are even more broken I'm afraid, I used
something like KDE 3.1.2 or so... anyway doesn't matter, parsing the
*.afm files is no option anyway...

>
> > That's of no use, either: for example for the font symbol.ttf I have 2
> > entries in fonts.dir:
> > symbol.ttf -monotype-Symbol-medium-r-normal--0-0-0-0-p-0-iso8859-1
>
> Really bad! This is for broken programs to show, for example,
>   <font face="Symbol">q</font>
> as a Greek theta. See
>  http://ppewww.ph.gla.ac.uk/~flavell/charset/fontface-harmful.html
>
> > symbol.ttf -monotype-Symbol-medium-r-normal--0-0-0-0-p-0-microsoft-symbol
>
> Okay.

Uh oh, so I can't really rely on the XLFDs either, at least when
parsing the fonts.dir.

Side note: In theory Qt (the toolkit which handles the GUI, fonts, and
stuff) would provide an XLFD (when compiled without Xft support) which
I could parse. The problem is that when I create a QFont object and
merely set the family name to Symbol, I get something like

-*-Symbol-*....-iso8859-1

as well, that is since the QFont hasn't been used for drawing I guess
Qt didn't check whether this font really exists so far, so the XLFD is

>
> > The problem with that is we don't have Xft support on all platforms.
> > Do I have to parse the font files myself (e.g. write a parser for
> > TrueType, Type 1, ...)?
>
> Sorry, don't know.

Seems like the only solution which would work in any case. In the
meantime I have found source code within Qt which parses at least
TrueType fonts...

Thanks, Oliver

 0
tknoll
9/1/2004 12:47:08 PM
Andreas Prilop <nhtcapri@rrzn-user.uni-hannover.de> wrote in message news:<Pine.GSO.4.44.0408311847310.6972-100000@s5b003>...
> On 31 Aug 2004, Oliver Knoll wrote:
>
> > You mean a "FontSpecific" encoded font can also be a font such as
> > Arial?
>
> Yes, it could.

So that means this entry is useless for me when it comes to deciding
whether a font has the encoding "hardcoded in the font file".

>
> > In fact I just had a look at all the *.afm files which were
> > generated by some tool from KDE (some font installer), and ALL the
> > generated *.afm files had the entry
>
> Which version? Kfontinst from KDE 3.2.0 is broken.
>  <http://bugs.kde.org/show_bug.cgi?id=78089>

Huh, so my *.afm files are even more broken I'm afraid, I used
something like KDE 3.1.2 or so... anyway doesn't matter, parsing the
*.afm files is no option anyway...

>
> > That's of no use, either: for example for the font symbol.ttf I have 2
> > entries in fonts.dir:
> > symbol.ttf -monotype-Symbol-medium-r-normal--0-0-0-0-p-0-iso8859-1
>
> Really bad! This is for broken programs to show, for example,
>   <font face="Symbol">q</font>
> as a Greek theta. See
>  http://ppewww.ph.gla.ac.uk/~flavell/charset/fontface-harmful.html
>
> > symbol.ttf -monotype-Symbol-medium-r-normal--0-0-0-0-p-0-microsoft-symbol
>
> Okay.

Uh oh, so I can't really rely on the XLFDs either, at least when
parsing the fonts.dir.

Side note: In theory Qt (the toolkit which handles the GUI, fonts, and
stuff) would provide an XLFD (when compiled without Xft support) which
I could parse. The problem is that when I create a QFont object and
merely set the family name to Symbol, I get something like

-*-Symbol-*....-iso8859-1

as well, that is since the QFont hasn't been used for drawing I guess
Qt didn't check whether this font really exists so far, so the XLFD is

>
> > The problem with that is we don't have Xft support on all platforms.
> > Do I have to parse the font files myself (e.g. write a parser for
> > TrueType, Type 1, ...)?
>
> Sorry, don't know.

Seems like the only solution which would work in any case. In the
meantime I have found source code within Qt which parses at least
TrueType fonts...

Thanks, Oliver

 0
tknoll
9/1/2004 12:47:40 PM

Similar Artilces:

using font generator setvar(font groups, new font name)
I'm trying to determine if you have to create a font for each version and size of the font being used. Ie. Do I have to create seperate fonts for: Courier New, Bold, size 8 and Courier New, italics, size 8 or can I just create one for Courier New size 8 and it recognize it? Any help is much appreciated. Thank you. -Halina ...

font to use in another font
I have developed a font that I want to distribute and all of the characters I really care about are outside the normal Latin/English glyph range. Are there any Times like fonts out there that I could use in my font? It would have to be completely free of copyright. Thanks. -John John Baima In article <s1gh55l9098r98bu1481bf1k846217vko2@4ax.com>, John Baima <john@nospam.com> wrote: > I have developed a font that I want to distribute and all of the > characters I really care about are outside the normal Latin/English > glyph range. Are there any Times like fonts out the...

Fonts and/or Font Book
Is there a way to "resolve duplicates" on a machine wide or disk wide or even folder basis rather than on a particular font folder one? -- dorayme In article <doraymeRidThis-9B2294.10351702052007@news-vip.optusnet.com.au>, dorayme <doraymeRidThis@optusnet.com.au> wrote: > Is there a way to "resolve duplicates" on a machine wide or disk > wide or even folder basis rather than on a particular font folder > one? FontDoctor X -- I am extraordinarily patient, provided I get my own way in the end. - Margaret Thatcher In article <010520071944304535%dave@N_O_T_T_H_I_Sbalderstone.ca>, Dave Balderstone <dave@N_O_T_T_H_I_Sbalderstone.ca> wrote: > In article > <doraymeRidThis-9B2294.10351702052007@news-vip.optusnet.com.au>, > dorayme <doraymeRidThis@optusnet.com.au> wrote: > > > Is there a way to "resolve duplicates" on a machine wide or disk > > wide or even folder basis rather than on a particular font folder > > one? > > FontDoctor X I assume, then, that there is no known way to do it via Font Book. Will one day take a look at the above, thank you. -- dorayme In article <doraymeRidThis-44E3D1.11574102052007@news-vip.optusnet.com.au>, dorayme <doraymeRidThis@optusnet.com.au> wrote: > In article > <010520071944304535%dave@N_O_T_T_H_I_Sbalderstone.ca>, > Dave Balderstone <dave@N_O_T_T_H_I_Sbalderstone.ca> wrote: > ...

font-specific encoding: how to find out?
Hi, how can I find out wheter a given font (given by it's file path) uses "font-specific" encoding or not? E.g. Wingbats, Webdings, Symbol etc. fonts (= "symbol fonts") use their own "hard-coded" encoding. I need support for scalable fonts only (Type 1, TrueType, Speedo). I tried parsing the fonts.dir, but on my system there are 2 entries e.g. for Symbol.ttf, one indicating -monotype-Symbol-...-iso8xxx (can't remember) and the 2nd -monotype-Symbol-...-microsoft-symbol (which would indicate a symbol font). Someone on comp.fonts told me that some programs need the first entry as well for some reasons. So parsing the fonts.dir is of no big help for me :/ Neither is parsing the *.afm files, since not every font has them and the entry EncodingScheme FontSpecific doesn't necessarily mean it's a "symbol" font. My code needs also to run on any Unix platform, that is I DON'T have Xft support on AIX, for example! (I have a working solution using Qt and Xft). Any XLib calls which give me the desired information? Any other libs which run everywhere (=on all Unix platforms) which are useful for parsing font files/give me the desired info? Or do I need to parse the font file data myself? (I have code which does that at least for Microsoft TrueType fonts...) Thanks, Oliver p.s. I need this info for PDF export with PDFLib, where I need to specify "builtin" or "winansi" for a given font, dependin...

Find the font file name from fonts.dir?
I have: the XLFD such as -monospace-Arial-bold-.... I want: the font file name such as "arialbd.ttf" (for Arial bold) which I need for the PDFLib as to export PDF documents. I've noticed that both values are listed in the font directories in a file called fonts.dir (clever me ;). Now my question: does there exist some XLib API call which does that for me? XListFonts only returns me matching XLFDs, given a certain XLFD which is is not what I want. Or can anyone point me to some sample code which does this job (iterate over all directories in the font path as returne...

WVW Hello world with 2 fonts or 2 font sizes of same font
could anyone write a small Hello World using more then 1 font or more sizes then one. I cant figure this one out. Thanks Yon ...

Japanese fonts / font-conversion / saving Fonts in certain formats (on mac)
Hello, I today found out how to use input of japanese symbols on the Mac OS-X. It's nice and easy, but the TextEditor does not save in formats I'm looking for. Useful would be either UTF-8, or (what I'm looking for especially) SJS. The latter is a format that is used in Japan and pTeX also can read SJS-encoded japanese fonts. pTeX is a certain TeX-variant, that is used especially in japan. What I'm looking for is a program that either can be used to select japanese fonts from amenue and/or keyboard an save them in different font formats, or a program that can convert from one font-encoding to another encoding. The "convert" program (the user-cli-interface of ImageMagick can a lot, but is specialized on grapfical fileformats and can't convert fonts/texts. Is there such a converter program, or an editor that can be used? (There is a Program called JWPce, but it's only running on WinCE). Even a hint to convert one font into another (are there encoding tables?) maybe would help, if it is not toooo much effort to write a converter by myself.... ....but using a ready-to-use solution would be preferred. Any hint is welcome. Many Thanks, Oliver Hi, > What I'm looking for is a program that either can be used > to select japanese fonts from amenue and/or keyboard an > save them in different font formats, > or a program that can convert from one font-encoding > to another encoding. > Is there such a converter prog...

Q.: Only one font in use, but 100 fonts embedded ... ?
The Subject line gives it in a nutshell -- my question(s) is (are) why? (and how to fix?) We've got a PDF containing the fully laid out, formatted pages of a book that uses one font (T.N.R.) in normal, bold, and italic, in several point-sizes. This PDF's Properties sheet shows about a hundred randomly-alphanumerically-named Type 1 embedded fonts. Why should that be? And is there anything we can do to reduce that number? The PDF is produced by Acrobat Distiller (v. 4.05) from a PS file itself obtained by printing a MS Word .DOC file to a PostScript printer "on FILE", wit...

siunitx using wrong font: font shapes not available
This code \unitfrac{g}{cm^3} or any other using the command unitfrac which is defined as \NewDocumentCommand\unitfrac{omm}{% \IfNoValueTF{#1} {\si{\sfrac{#2}{#3}}} {\SI{#1}{\sfrac{#2}{#3}}}% } causes these errors: LaTeX Font Warning: Font shape OML/cmm/m/it' in size <3.1492> not available (Font) size <5> substituted on input line 32. Any chance that I can solve this problem, or is it related to sfrac ( from xfrac) or siunitx? Am Fri, 29 Apr 2011 17:00:18 +0200 schrieb Matthias Pospiech: > This code \unitfrac{g}{cm^3} or any other using the command unitfrac > which is defined as > > \NewDocumentCommand\unitfrac{omm}{% > \IfNoValueTF{#1} > {\si{\sfrac{#2}{#3}}} > {\SI{#1}{\sfrac{#2}{#3}}}% > } > > causes these errors: > LaTeX Font Warning: Font shape OML/cmm/m/it' in size <3.1492> not available > (Font) size <5> substituted on input line 32. A warning is not an error. That's rather normal substituation message. > Any chance that I can solve this problem, or is it related to sfrac ( > from xfrac) or siunitx? \RequirePackage{fix-cm} (at best before \documentclass). -- Ulrike Fischer Am 29.04.2011 17:23, schrieb Ulrike Fischer: > Am Fri, 29 Apr 2011 17:00:18 +0200 schrieb Matthias Pospiech: > >> This code \unitfrac{g}{cm^3} or any other using the command unitfrac >> which is defined as >> >> \NewDocumentCommand\unitfrac{omm}{% >...

ClearType: Does Java AWT use its own font or use the OS's font in displaying text field?
Hi folks, I need to display some ClearType text in a static text field of a GUI window using Java AWT. I heard that Java 2D itself currently does not support ClearType sub-pixel technology. I am wondering if AWT can render font using OS's global font setting, for instance, on Windows XP, the ClearType font can be enabled globally, on Linux, it also has sub-pixel rendering technology can can be enabled OS wide. I am wondering if the Java AWT uses OS's font by default? Furthermore, what shall I do if I want to capture the RGB pixel values of the displayed text and save to harddisk? Th...

/etc/fonts/fonts.conf
What exactly do I need to add to fonts.conf after I added ProggyClean.afm to /usr/share/fonts/default (I converted ttf to afm using ttf2afm) Thanks Yakov "Yakov Lerner" <iler.ml@gmail.com> writes: > What exactly do I need to add to fonts.conf after I added > ProggyClean.afm to /usr/share/fonts/default (I converted ttf to afm > using ttf2afm) You don't need to add anything. Just run fc-cache. This really has nothing to do with X. If you want to make X aware of your new font, you should run mkfontscale and mkfontdir in that directory. -- M�n...

Finding raw font file data from an ATSUFontID or font name
I have a library that requires either a path to a ttf file or the raw data that is contained in a ttf file. I would like to get this data from an ATSUFontID for an installed system font. Is this possible on a Mac? In article <037a153d-30cc-44b0-82d8-8d9d8dd44208@m18g2000vbi.googlegroups.com>, Daniel Walter <d2walter@gmail.com> wrote: > I have a library that requires either a path to a ttf file or the raw > data that is contained in a ttf file. I would like to get this data > from an ATSUFontID for an installed system font. Is this possible on > a Mac? Sure. see "Curves In Quickdraw" http://www.mactech.com/articles/develop/issue_08/Reed_text.html The sample code shows how to parse a ttf file. On Jun 25, 2:17=A0am, David Phillip Oster <os...@ieee.org> wrote: > In article > <037a153d-30cc-44b0-82d8-8d9d8dd44...@m18g2000vbi.googlegroups.com>, > =A0Daniel Walter <d2wal...@gmail.com> wrote: > > > I have a library that requires either a path to a ttf file or the raw > > data that is contained in a ttf file. =A0I would like to get this data > > from an ATSUFontID for an installed system font. =A0Is this possible on > > a Mac? > > Sure. see "Curves In Quickdraw"http://www.mactech.com/articles/develop/is= sue_08/Reed_text.htmlThe > sample code shows how to parse a ttf file. My goal is to find the ttf file or the ttf file data. I don'...

Emerald fonts
Hi there, I've installed the Emerald fonts [1] from CTAN, and have got them working on my system. An example such as the LaTeX Font catalogue's text example [2] works perfectly, but I can't work out for the life of me how to resize the font. I'm using this in the context of: \documentclass{article} \usepackage{emerald} \fontfamily{cmss}\fontsize{12pt}{13pt}\selectfont Here's the body of my text {\ECFAugie Some notes in the magin} Body text continues... \end{document} I wish to use cmss as my default font and Augie enclosed in a group only for short notes. Yet {\ECFAugie \fontsize(10pt) doesn't work as I'd hope} Thanks in advance for any pointers, Stroller. [1] http://ctan.org/tex-archive/fonts/emerald/ [2] http://www.tug.dk/FontCatalogue/augie/augie.tex Stroller <stroller@bigfoot.com> schrieb: > Hi there, > > I've installed the Emerald fonts [1] from CTAN, and have got them > working on my system. An example such as the LaTeX Font catalogue's > text example [2] works perfectly, but I can't work out for the life of > me how to resize the font. > > I'm using this in the context of: > > \documentclass{article} > \usepackage{emerald} > \fontfamily{cmss}\fontsize{12pt}{13pt}\selectfont > Here's the body of my text > {\ECFAugie Some notes in the magin} > Body text continues... > \end{document} > > I wish to use cmss as my default fo...

font dialog font list
I've seen an application which only has specific fonts shown in the font list of a TFontDialog. How is this possible? This is what I would like to achieve: Only show fixed-length fonts (courier new etc). I can't see any methods of properties to achieve such a thing, and unfortunately the code to the application which displays this feature is not available. Kind regards, Adam. AdamMaynard24 wrote: > I've seen an application which only has specific fonts shown in the > font list of a TFontDialog. How is this possible? This is what I would > like to achieve: Only show fixed-length fonts (courier new etc). Set the fdFixedPitchOnly option. -- Rob ...

Converting fonts back to fonts?
Have a one page PDF document containing just a small amount of text -- but file size is 900 kB instead of say 20 or 30 kB. Opening it in Illustrator and selecting any one character in the text causes the Type palette to indicate that each such character is Helvetica Neue, Regular, 14 pt -- but looking more closely at the character itself seems to show that each character in the text has been, for some reason, converted into a separate and complex vector object. And, pulling down the Type >> Find Fonts menu command seems to show that the document contains _no_ fonts at all (in either half of the Find window) . . . ??? Is there a quick, safe way to convert this document back into "real type"? AES wrote: > Have a one page PDF document containing just a small amount of text -- > but file size is 900 kB instead of say 20 or 30 kB. > > Opening it in Illustrator and selecting any one character in the text > causes the Type palette to indicate that each such character is > Helvetica Neue, Regular, 14 pt -- but looking more closely at the > character itself seems to show that each character in the text has been, > for some reason, converted into a separate and complex vector object. > > And, pulling down the Type >> Find Fonts menu command seems to show that > the document contains _no_ fonts at all (in either half of the Find > window) . . . ??? > > Is there a quick, safe way to convert this documen...

win32 font/xlib font
Hello ! I'm new to Win32, coming from X11, and I have some questions related to font handleing. - How do I go from a font fname (Courier 12) to a HFONT to give to SelectObject ? - If i gave a xlib Font type, is there a way to access to its corresponding HFONT type ? Many thanks in advance for your help ! Luc Hello Luc, On 7/20/2010 1:50 PM, Luc Moulinier wrote: > Hello ! > I'm new to Win32, coming from X11, and I have some questions related > to font handleing. > > - How do I go from a font fname (Courier 12) to a HFONT to give to > SelectObject...

List of Fonts from Font Reserve
How can I generate a list of all the fonts that I have in my Font Reserve "Vault"? This basic functionality doesn't seem to be built in, and I can't find any shareware that looks in the vault. ...

Large fonts
I have a Thinkpad A22p running WinXP, which has a resolution of 1600 x 1200 on the native LCD. Normal fonts are too hard (for me) to read at that resolution, so I use large fonts (120 dpi). But that's on the native LCD. The rest of the time, I have it docked and attached to a 19" monitor running at 1280 x 1024, and at that resolution I prefer normal fonts. It's somewhat of a pain every time I switch configurations to have to change the DPI settings and reboot. Is there a way to tell WinXP to "Use Large Fonts when you're on the native LCD, Normal Fonts when you're on the external display!"? -- da ~~ "OE Quotefix" http://flash.to/oe-quotefix to fix Outlook Express' broken quoting. DA, Donkey Agony <root@[127.0.0.1]> wrote: > > It's somewhat of a pain every time I switch configurations to have to > change the DPI settings and reboot. Is there a way to tell WinXP to > "Use Large Fonts when you're on the native LCD, Normal Fonts when > you're on the external display!"? Setup docked and undocked Hardware Profiles. Regards, James JHEM wrote: >> It's somewhat of a pain every time I switch configurations to have to >> change the DPI settings and reboot. Is there a way to tell WinXP to >> "Use Large Fonts when you're on the native LCD, Normal Fonts when >> you're on the external display!"? > Setup docked and undocked Hardware Pro...

Making a font from another font
Hi, I would like to create some virtual font from a Type 1 font that should behave exactly as the original one except for one thing: the characters should be print according to a -1 1 scale. Warning: [-1 0 0 1 0 0] makefont does not what I want, since it reverses the printing direction. For instance: (ABCDE) show should print ABCDE in this very same order but each letter should be horizontally mirrored. How can I do that? On Sun, 17 Dec 2006 19:04:14 +0100, Nobody wrote: > Hi, I would like to create some virtual font from a Type 1 font > that should behave exactly as the original one except for one > thing: the characters should be print according to a -1 1 scale. > Warning: > [-1 0 0 1 0 0] makefont > does not what I want, since it reverses the printing direction. > For instance: (ABCDE) show > should print ABCDE in this very same order but each letter should > be horizontally mirrored. How can I do that? Are you familiar with the family of books Adobe puts out about PS? I'm talking the 'green book' the 'red boot' the 'blue book'. One of them is basically a cookbook and has examples of digging in and modifying fonts - I think it would have what you need. Try a nearby university library, technical library or inter-library loan. ray <ray@zianet.com> wrote in news:pan.2006.12.17.20.54.07.463279 @zianet.com: > Are you familiar with the family of books Adobe puts out about PS? I'm > talking the ...

What are nil2 fonts and cursor fonts
Hi, When I run Xterm I get a message saying that it cannot convert nil2 fonts to fontstructure. What are nil2 fonts ?. I see it in Xterm.ad. Also another related question is what is cursor fonts ?. Thanks for your help. Regards Kanchan ["Followup-To:" header set to comp.os.linux.x.] On 18 Jun 2005 18:35:14 -0700, v_kanchan@yahoo.com staggered into the Black Sun and said: > When I run Xterm I get a message saying that it cannot convert nil2 > fonts to fontstructure. What are nil2 fonts ?. I see it in Xterm.ad. In "man xterm" , the Resources section: iconFont (class IconFont) Specifies the font for the miniature active icon window, if this feature is compiled into xterm. The default is "nil2". ....so I'd guess that nil2 is a set of icons that are arranged into a font file. This isn't really something that's insanely important. > Also another related question: what [are] cursor fonts? IIRC, these are fonts where each character is mapped to a pixmap that can be used as a cursor. 'A' = pointer, 'B' = hourglass, 'C' = resize left-right, 'D' = resize top-bottom, etcetera. HTH, -- Matt G|There is no Darkness in Eternity/But only Light too dim for us to see Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong http://www.brainbench.com / Hire me! -----------------------------/ http://crow202.dyndns.o...

Display font choices each in own font
Has anyone tried to code this? I have learned how to display a list of fonts available from http://www.lebans.com/enumfonts.htm. (thanks, Steve). I presume that one could not show each individual font in its own font as Word has done since 2000? On 21 May 2006 14:41:16 -0700, penguin732901@aol.com wrote: >Has anyone tried to code this? I have learned how to display a list of >fonts available from >http://www.lebans.com/enumfonts.htm. (thanks, Steve). > >I presume that one could not show each individual font in its own font >as Word has done since 2000? I think there must be a way to automate this from Word but there also may be a simpler way so I will give way to someone who knows more than me. In the meantime you might Google "automate Microsoft Word font" or something like that. You might even try sticking in "palette" as an optional search term. Who knows what might turn up? Bookreader On Sun, 21 May 2006 21:47:50 GMT, Bookreader <Bookreader127@yahoo.com> wrote: >On 21 May 2006 14:41:16 -0700, penguin732901@aol.com wrote: > >>Has anyone tried to code this? I have learned how to display a list of >>fonts available from >>http://www.lebans.com/enumfonts.htm. (thanks, Steve). >> >>I presume that one could not show each individual font in its own font >>as Word has done since 2000? > >I think there must be a way to automate this from Word but there also >may be a si...

TrueType font to Opentype font
Hello All, I am a newbie. I have some TrueType fonts that I want to convert to Opentype fonts. Perhaps using some font editor. Where do I start? What software to use? thanks a lot for your help Mashrur In article <58e0b197.0403010934.332d57da@posting.google.com>, Mashrur Mia <mia@cs.concordia.ca> wrote: > I have some TrueType fonts that I want to convert to Opentype fonts. > Perhaps using some font editor. > > Where do I start? What software to use? First of all you should read the OpenType specifications that you can find either in the Microsoft or the Adobe si...

vector font and outline font
Hi, in Wikipedia (e.g. http://en.wikipedia.org/wiki/Outline_font) vector font and outline font are used as synonym. Ok, outline fonts are vector fonts, but aren't there any vector fonts that aren't outline fonts? bye, Johannes Johannes Walther wrote: > Hi, > > in Wikipedia (e.g. http://en.wikipedia.org/wiki/Outline_font) vector > font and outline font are used as synonym. > Ok, outline fonts are vector fonts, but aren't there any vector fonts > that aren't outline fonts? > > bye, > Johannes > In a historical sense, yes. Back when computer i...

font method -option font
hi is there a method that checks if a certain widget responds to a certain -option ? or actually my question could also be what is an easy way to change the font in an entire application ? i thought this was where the money was: perl application.pl -font "Monaco 12" but nothing happens , and i haven't mentioned the word -font in application.pl so my questions remain thank you -++**==--++**==--++**==--++**==--++**==--++**==--++**== This message was posted through the Stanford campus mailing list server. If you wish to unsubscribe from...

Web resources about - X11: how to find out whether font uses font-specific encoding? - comp.fonts

Gadgetwise Blog: Q&A: Finding a Specific Font
If you need the name of an unidentified typeface you find on the Web, you can get help from certain font sites or just ask the experts.

Resources last updated: 3/28/2016 6:05:40 PM