Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.misc > #4958

Re: Increasing default line spacing in RISC OS fonts

Date 2012-04-18 07:24 +0100
From Matthew Phillips <spam2011m@yahoo.co.uk>
Newsgroups comp.sys.acorn.misc
Subject Re: Increasing default line spacing in RISC OS fonts
Message-ID <9e27368252.Matthew@sinenomine.freeserve.co.uk> (permalink)
References (4 earlier) <c9ddef57-9b60-4d0d-b7c5-82487bfc4a7a@f5g2000vby.googlegroups.com> <333b5d7b52.martin@bach.planiverse.com> <88805743-f3e8-410c-b7da-5292744cb7a2@l7g2000vbw.googlegroups.com> <d4ecb97b52.martin@bach.planiverse.com> <10cb91e2-30ed-4524-bae8-7e7f479a9afd@w5g2000vbp.googlegroups.com>

Show all headers | View raw


In message <10cb91e2-30ed-4524-bae8-7e7f479a9afd@w5g2000vbp.googlegroups.com>
 on 16 Apr 2012 castlevarich  wrote:

> I'm creating the Latin-2 version of Trinity because I don't like using the
> Alphabet command at the command line, and I also want to be able to read
> and write Latin-2 RTF files.
> 
> Herr Wuerthner, how difficult would it be to add an encoding tag to
> Word and RTF files, when you save them from EasiWriter ???

So it sounds as though what you are creating is a Latin-1 font where the
shapes of the characters match up with the equivalent code points in Latin-2.

That's no way that I know of that an application (even if it were fully aware
of encodings and so on) could tell that an individual font has character
shapes belonging to a different encoding.

Therefore, while your approach might work for you personally in creating
and printing files, and in making Latin-2 RTF files look right when loaded
into RISC OS applications, the applications themselves won't be any the
wiser.  And as soon as you export the text to any application which does not
allow setting a font (e.g. a text editor, e-mail software, database) the
Latin-2 shaped characters will all go wrong.

Because the application cannot know what shape the characters are, Martin
could not modify EasWriter to output the appropriate encoding declaration in
an RTF file exported from EasiWriter.  Not without having a list of fonts
that behave like that, but that's frankly unsustainable.  What happens when
the user decides to change font mid-document to include Latin-1 characters as
well, as people are bound to do?  If Martin is going to invest time in this
area he is sure to want to do the job properly, and the existing ROM fonts
will be fine for this.

You yourself could quite easily edit the RTF header manually in any RTF files
you export by using a text editor.  That's probably the best solution for
what you want to do until a proper encodings-aware word processor comes
along.

-- 
Matthew Phillips
Durham

Back to comp.sys.acorn.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Increasing default line spacing in RISC OS fonts castlevarich <castlevarich@yahoo.co.uk> - 2012-03-24 05:17 -0700
  Re: Increasing default line spacing in RISC OS fonts Jim Nagel <jimnewsm10d@abbeypress.co.uk> - 2012-03-26 22:27 +0100
    Re: Increasing default line spacing in RISC OS fonts Stewart Brodie <stewart.brodie@ntlworld.com> - 2012-03-26 22:42 +0100
      Re: Increasing default line spacing in RISC OS fonts Martin Wuerthner <spamtrap@mw-software.com> - 2012-03-27 00:18 +0200
        Re: Increasing default line spacing in RISC OS fonts castlevarich <castlevarich@yahoo.co.uk> - 2012-04-04 08:39 -0700
          Re: Increasing default line spacing in RISC OS fonts Russell Hafter News <see.sig@walkingingermany.invalid> - 2012-04-04 20:27 +0100
          Re: Increasing default line spacing in RISC OS fonts Martin Wuerthner <spamtrap@mw-software.com> - 2012-04-05 01:17 +0200
            Re: Increasing default line spacing in RISC OS fonts castlevarich <castlevarich@yahoo.co.uk> - 2012-04-05 08:38 -0700
              Re: Increasing default line spacing in RISC OS fonts Martin Wuerthner <spamtrap@mw-software.com> - 2012-04-05 18:10 +0200
                Re: Increasing default line spacing in RISC OS fonts castlevarich <castlevarich@yahoo.co.uk> - 2012-04-16 08:42 -0700
                Re: Increasing default line spacing in RISC OS fonts Matthew Phillips <spam2011m@yahoo.co.uk> - 2012-04-18 07:24 +0100
                Re: Increasing default line spacing in RISC OS fonts Martin Wuerthner <spamtrap@mw-software.com> - 2012-04-18 17:06 +0200
                Re: Increasing default line spacing in RISC OS fonts Matthew Phillips <spam2011m@yahoo.co.uk> - 2012-04-18 18:55 +0100
                Re: Increasing default line spacing in RISC OS fonts Martin Wuerthner <spamtrap@mw-software.com> - 2012-04-19 11:09 +0200
                Re: Increasing default line spacing in RISC OS fonts Russell Hafter News <see.sig@walkingingermany.invalid> - 2012-04-19 10:37 +0100
                Re: Increasing default line spacing in RISC OS fonts Paul Sprangers <Paul@sprie.nl> - 2012-04-19 11:48 +0200
                Re: Increasing default line spacing in RISC OS fonts Martin Wuerthner <spamtrap@mw-software.com> - 2012-04-19 16:39 +0200
                Re: Increasing default line spacing in RISC OS fonts Paul Sprangers <Paul@sprie.nl> - 2012-04-20 00:22 +0200
                Re: Increasing default line spacing in RISC OS fonts Martin Wuerthner <spamtrap@mw-software.com> - 2012-04-20 11:10 +0200
                Re: Increasing default line spacing in RISC OS fonts Paul Sprangers <Paul@sprie.nl> - 2012-04-20 15:50 +0200
                Re: Increasing default line spacing in RISC OS fonts Martin Wuerthner <spamtrap@mw-software.com> - 2012-04-20 17:10 +0200
                Re: Increasing default line spacing in RISC OS fonts Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2012-04-20 18:06 +0200
                Re: Increasing default line spacing in RISC OS fonts "John Williams (News)" <UCEbin@tiscali.co.uk> - 2012-04-20 18:31 +0200
                Re: Increasing default line spacing in RISC OS fonts druck <news@druck.org.uk> - 2012-04-20 22:21 +0100
                Re: Increasing default line spacing in RISC OS fonts Stewart Brodie <stewart.brodie@ntlworld.com> - 2012-04-21 02:15 +0100
                Re: Increasing default line spacing in RISC OS fonts Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2012-04-21 05:06 +0200
                Re: Increasing default line spacing in RISC OS fonts Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2012-04-20 17:54 +0200
                Re: Increasing default line spacing in RISC OS fonts Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2012-04-20 17:47 +0200
                Re: Increasing default line spacing in RISC OS fonts Martin Wuerthner <spamtrap@mw-software.com> - 2012-04-23 08:00 +0200
                Re: Increasing default line spacing in RISC OS fonts Paul Sprangers <Paul@sprie.nl> - 2012-04-23 10:16 +0200
                Re: Increasing default line spacing in RISC OS fonts Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2012-04-19 17:00 +0200
                Re: Increasing default line spacing in RISC OS fonts Matthew Phillips <spam2011m@yahoo.co.uk> - 2012-04-20 23:30 +0100
                Re: Increasing default line spacing in RISC OS fonts castlevarich <castlevarich@yahoo.co.uk> - 2012-04-21 04:38 -0700

csiph-web