Re: Grepping fonts for a specific glyph

2010-01-29 Thread Chris Jones
On Thu, Jan 28, 2010 at 05:32:56AM EST, Dotan Cohen wrote: Hello Dotan, > I need to know which of my installed fonts have glyphs for a specific > Unicode character (U+05D0). How can I do that? Recently posted on another list: http://faculty.virginia.edu/OldEnglish/fontswith/fontswith.zip $ fon

Re: Grepping fonts for a specific glyph

2010-01-28 Thread T o n g
On Fri, 29 Jan 2010 01:32:54 +0200, Dotan Cohen wrote: > My first go at it just left the whole path... Now I have all these > little gifs all over the filesystem! Oops, "that hurts" -- thought that was obvious. :-) >>> One question, why mlocate instead of locate? >> >> Well, "people say so", :-

Re: Grepping fonts for a specific glyph

2010-01-28 Thread Dotan Cohen
On 29 January 2010 01:28, T o n g wrote: > On Fri, 29 Jan 2010 01:16:27 +0200, Dotan Cohen wrote: > >> script out of it, and I had to change the path-removal code: > > great, that was one exercise deliberately left for you. :-) > My first go at it just left the whole path... Now I have all these

Re: Grepping fonts for a specific glyph

2010-01-28 Thread T o n g
On Fri, 29 Jan 2010 01:16:27 +0200, Dotan Cohen wrote: > script out of it, and I had to change the path-removal code: great, that was one exercise deliberately left for you. :-) > One question, why mlocate instead of locate? Well, "people say so", :-) I actually don't know -- all that I know is

Re: Grepping fonts for a specific glyph

2010-01-28 Thread Dotan Cohen
> Use imagemagick! Something like > > for fontf in `mlocate -i .ttf`; do >  convert -background lightblue -fill blue -pointsize 48 \ >  -font $fontf label: ouput_pic($fontf).gif > done > > to produce one pic file for each font you have then check them out one by > one visually. > Thank you, that w

Re: Grepping fonts for a specific glyph

2010-01-28 Thread T o n g
On Thu, 28 Jan 2010 12:32:56 +0200, Dotan Cohen wrote: > I need to know which of my installed fonts have glyphs for a specific > Unicode character (U+05D0). How can I do that? Use imagemagick! Something like for fontf in `mlocate -i .ttf`; do convert -background lightblue -fill blue -pointsize

Re: Grepping fonts for a specific glyph

2010-01-28 Thread Eduardo M KALINOWSKI
On 01/28/2010 08:32 AM, Dotan Cohen wrote: I need to know which of my installed fonts have glyphs for a specific Unicode character (U+05D0). How can I do that? This is part of a function using GTK+/Pango that checks for presence of glyphs: PangoContext *context; PangoFontDesc

Re: Grepping fonts for a specific glyph

2010-01-28 Thread Dotan Cohen
> Can't quite help you, but how about just fonts supporting hebrew? > >    $ fc-list :lang=he > > from `man fc-list`. > Thank you, that will work for most of the cases that I have! I still need a solution for the symbols (we will make heavy use of the unicode math block) but this should get me sta

Re: Grepping fonts for a specific glyph

2010-01-28 Thread Tony Nelson
On 10-01-28 07:24:24, Dotan Cohen wrote: > On 28 January 2010 12:42, Camaleón wrote: ... > > On GNOME you can get accurate info about availabe fonts that can > > represent that character with "Char Map" (gucharmap) application. > > > > Yes, but I cannot search for fonts by glyph with that applic

Re: Font substitution in OOo (was: Grepping fonts for a specific glyph)

2010-01-28 Thread Dotan Cohen
>> OpenOffice is the wrong tool to find out if a font contains a glyph. As >> you have discovered, OOo will substitute the glyph from another font, >> and it won't tell you it has done so. > > I guess you mean the option under "Tools / Options / OpenOffice.org / > Fonts / [x] Apply replacement tabl

Re: Grepping fonts for a specific glyph

2010-01-28 Thread Dotan Cohen
> I suggest Fontmatrix or FontForge. They cannot automate the task, but > at least if they say the font contains the glyph, then you know it's > really there. (See comment below for additional options.) > Fontmatrix does not support Hebrew text very well (I was surprised to find this limitation in

Font substitution in OOo (was: Grepping fonts for a specific glyph)

2010-01-28 Thread Camaleón
On Thu, 28 Jan 2010 10:14:11 -0800, John Jason Jordan wrote: > On Thu, 28 Jan 2010 16:58:17 +0200 > Dotan Cohen dijo: > >>On 28 January 2010 16:40, Camaleón wrote: >>> If the font has not available the symbol, it will display a "fallback >>> alternative" sign, this is a suggested standard featu

Re: Grepping fonts for a specific glyph

2010-01-28 Thread Dotan Cohen
> So what you are looking for is a kind of file descriptor listing the > font's capabilities about unicode sygns, right? That would be great, but I was thinking more about accessing the glyphs directly. Of course, I have no idea if this is possible but something like (psuedocode, language soup):

Re: Grepping fonts for a specific glyph

2010-01-28 Thread John Jason Jordan
On Thu, 28 Jan 2010 16:58:17 +0200 Dotan Cohen dijo: >On 28 January 2010 16:40, Camaleón wrote: >> On Thu, 28 Jan 2010 15:05:42 +0200, Dotan Cohen wrote: >> Open OOo Writer and write down the symbol to test it against all the >> fonts. If some fonts do not display the Aleph, then you know it is

Re: Grepping fonts for a specific glyph

2010-01-28 Thread Camaleón
On Thu, 28 Jan 2010 16:58:17 +0200, Dotan Cohen wrote: > On 28 January 2010 16:40, Camaleón wrote: >> On Thu, 28 Jan 2010 15:05:42 +0200, Dotan Cohen wrote: >> Open OOo Writer and write down the symbol to test it against all the >> fonts. If some fonts do not display the Aleph, then you know it i

Re: Grepping fonts for a specific glyph

2010-01-28 Thread Dotan Cohen
On 28 January 2010 16:40, Camaleón wrote: > On Thu, 28 Jan 2010 15:05:42 +0200, Dotan Cohen wrote: > I have some (=tens of) unusual fonts which may or may not have that glyph, I'd like to know. >>> >>> ¿"Tens" or "tons"? :-) >>> >>> If there are less than 25 fonts is a relatively easy/fa

Re: Grepping fonts for a specific glyph

2010-01-28 Thread Camaleón
On Thu, 28 Jan 2010 15:05:42 +0200, Dotan Cohen wrote: >>> I have some (=tens of) unusual fonts which may or may not have that >>> glyph, I'd like to know. >> >> ¿"Tens" or "tons"? :-) >> >> If there are less than 25 fonts is a relatively easy/fast task for >> doing it manually. >> >> > Over 40 O

Re: Grepping fonts for a specific glyph

2010-01-28 Thread Dotan Cohen
>> I have some (=tens of) unusual fonts which may or may not have that >> glyph, I'd like to know. > > ¿"Tens" or "tons"? :-) > > If there are less than 25 fonts is a relatively easy/fast task for doing > it manually. > Over 40 > You can search for the glyph code (00a5) and once selected, choose

Re: Grepping fonts for a specific glyph

2010-01-28 Thread Camaleón
On Thu, 28 Jan 2010 14:24:24 +0200, Dotan Cohen wrote: > On 28 January 2010 12:42, Camaleón wrote: > I have some (=tens of) unusual fonts which may or may not have that > glyph, I'd like to know. ¿"Tens" or "tons"? :-) If there are less than 25 fonts is a relatively easy/fast task for doing it

Re: Grepping fonts for a specific glyph

2010-01-28 Thread Dotan Cohen
On 28 January 2010 12:42, Camaleón wrote: > On Thu, 28 Jan 2010 12:32:56 +0200, Dotan Cohen wrote: > >> I need to know which of my installed fonts have glyphs for a specific >> Unicode character (U+05D0). How can I do that? > > The "aleph"? א > Yes, I'd like to see which fonts have Hebrew glyphs.

Re: Grepping fonts for a specific glyph

2010-01-28 Thread Camaleón
On Thu, 28 Jan 2010 12:32:56 +0200, Dotan Cohen wrote: > I need to know which of my installed fonts have glyphs for a specific > Unicode character (U+05D0). How can I do that? The "aleph"? א :-) I've tried with TrueType fonts (Arial, Tahoma, Verdana, Times New Roma...) and also with Liberation

Grepping fonts for a specific glyph

2010-01-28 Thread Dotan Cohen
I need to know which of my installed fonts have glyphs for a specific Unicode character (U+05D0). How can I do that? Thanks! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Troubl