* Jonathon Blake <[EMAIL PROTECTED]> [120205, 00:02]:

Hi Jonathon,
I don't think I have the reply to your query, but I would like to learn
something else ..... ;)

> All:
> 
> I am putting together a spreadsheet to display all the glyphs in a font.
> 

Wouldn't a database be a better choice?

> Only CHAR(32) through CHAR(255) display correctly.
> [Everything higher than CHAR(255) gives either an Err:502, or "###" error.]
> 
In which context are you obtaining these result and pressing which keys?
I'm asking because, after opening OOo-1.1.4 (New->Spreadsheet) and
pressing ALT+number on num. k. pad I get nothing!

> Is there any way, short of manually inserting all 65 536 characters,
> of getting them all to display correctly in a spreadsheet?
> 
I suppose you're talking about Unicode characters?
If yes and you have a linux OS, you can try from a console something
like this 'uni.sh' (you can also pipe it to less: $> ./uni.sh |less)

--------
 #! /bin/sh
 flim=255    # change to 0
 limit=280   # change to 65536 if you wat to list all
 x=$flim      
 while [ "$x" -le "$limit" ]
   do
     unicode -d $x
     let "x += 1 "
   done
--------

I've just tested it in a Debian/Sarge to discover that there are some
holes (e.g. from decimal ascii 127 to 160) and that the glyphs appearing
on the screen do not correspond to the description (although my LC_ALL is
set to it_IT.UTF8) ?!

> For those who are wondering why anybody would want to do this, the
> main reasons are:
> 
> a) To find the "holes" in the font one uses.  [This is a major issue
> with Chinese fonts.]
> b) To find which sub-ranges the font really supports.

Well, to do that, maybe you could (always from linux):
1. open an Xterm
2. run the command gfontview
3. choose the charset, click on the tag 'Make Font Table'
4. save the table as a .gif file
5. enter OOo and import the .gif file where you want

Or, perhaps, it would be enough, for what you want to see, 
1. enter OOo
2. choose Insert -> Special characters and look for missing chars.

> c) To easilly locate glyphs in the "Private Use Area" of a font.  [One
> of my fonts has the entire Klingon Writing System somewhere in the
> private use area. ]
> 

What is that? (I mean the Private Use Area) :-)

Regards,
        Ennio
        who hopes having not wasted band ;)
-- 
[Perche' usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo.   \\?//
 Fa' qualche cosa di cui non sei capace!"  (diceva Henry Miller) ]    (�|�)
[Why use Win$ozz (I say) if ... "even a fool can do that.              )=(
 Do something you aren't good at!" (as Henry Miller used to say) ]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to