[softwarelist] Re: RTF Files -- first impressions

  • From: Clive Bonsall <C.Bonsall@xxxxxxxx>
  • To: David Pilling <davidpilling@xxxxxxxxxxxxx>
  • Date: Mon, 20 Mar 2006 23:21:55 +0000

Hi David

You wrote:
>> 3. If you go to 
>> http://www2.arcl.ed.ac.uk/cbscratch/index.php?fm_dir=OPW ...
> 
> Interesting. It has helped me find a bug. However the main problem is a 
> missing font:
> 
> Times New Roman CE
> 
> the "Unicode" text is actually ordinary 8 bit text but in this special 
> font. The bug is that codes between 128 and 256 are not handled 
> correctly. However that only affects specific characters, the font 
> changes which affect pieces of text are due to the missing font.
> 
> So is MS Word emulating Unicode with multiple 8 bit fonts?

Sorry, I'm lost. From where is Times New Roman CE missing -- from the 
RTF document, or the OPW document, or both?

In my Windows>Fonts directory there are 4 OpenType fonts in the Times 
New Roman family -- ... [normal] ... Bold, ... Bold Italic, and ... 
Italic. I assume this is standard in XPpro.

If I open the RTF document in Notepad, I can see various character sets 
listed at the beginning of the file, including:

Times New Roman CE
Times New Roman Cyr
Times New Roman Greek
Times New Roman Tur
Times New Roman (Hebrew)
Times New Roman (Arabic)
Times New Roman Baltic
Times New Roman (Vietnamese)

Are these not just ranges (subsets) of the Unicode Standard, e.g. 
Cyrillic 0400-04FF?

If I save the RTF document as text(Unicode encoding) the CE characters 
(what I have been calling "Unicode" characters) are all there.

Does this offer any clues?

> On top of all this there is the problem of handling Unicode in RTF, some 
> genuine Unicode does occur in your document, but possibly not as part of 
> the main text.

Perhaps I misunderstand what is meant by a Unicode character. Let's take 
<small letter t with cedilla> -- MS Word identifies this as Unicode(hex) 
0163 (which it should be). Are you saying it's not true Unicode, but 
emulated by a special font?

Regards
-- 
Clive Bonsall
Head of Archaeology
School of Arts, Culture and Environment
University of Edinburgh
Old High School
Infirmary Street
Edinburgh, EH1 1LT
Tel: +44-131-650 2375/666 0262
Fax: +44-131-650 2378
Archaeology Home Page: http://www.arcl.ed.ac.uk/
Personal Home Page: http://www.arcl.ed.ac.uk/arch/clivebonsall/
Masters programmes: http://www.arcl.ed.ac.uk/Archaeology_PG_MSc.html

Other related posts: