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


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

Re: Increasing default line spacing in RISC OS fonts

From Martin Wuerthner <spamtrap@mw-software.com>
Newsgroups comp.sys.acorn.misc
Subject Re: Increasing default line spacing in RISC OS fonts
Date 2012-04-05 01:17 +0200
Organization MW Software
Message-ID <333b5d7b52.martin@bach.planiverse.com> (permalink)
References <86300c66-43e5-4016-b8d7-d04a3209dc62@er9g2000vbb.googlegroups.com> <6694b07652.jim@nails.abbeypress.net> <gemini.m1ihmk000uy0a0ieo.stewart.brodie@ntlworld.com> <fe4ab57652.martin@bach.planiverse.com> <c9ddef57-9b60-4d0d-b7c5-82487bfc4a7a@f5g2000vby.googlegroups.com>

Show all headers | View raw


In message <c9ddef57-9b60-4d0d-b7c5-82487bfc4a7a@f5g2000vby.googlegrou 
ps.com>
          castlevarich <castlevarich@yahoo.co.uk> wrote:

> On Mar 26, 10:18 pm, Martin Wuerthner <spamt...@mw-software.com>
> wrote:

>> RISC OS word processors compute line spacing purely on the basis of
>> applied font sizes, ignoring the actual fonts that are used.

Actually, I should have written "RISC OS DTP programs" rather than 
word processors. The above is true for Impression and OvationPro, but 
not for EasiWriter/TechWriter.

> In actual fact, the problem seems to be with the old
> version of EasiWriter I'm using (7.11), which is about
> 10 years old.

> I am in the process of creating a Latin 2 version of
> Trinity, which has all the Central and East European
> accents, for use with the new version of Messenger Pro.

> However, it's only my copy of EasiWriter which compresses
> the lines, when I use the new Latin 2 version of the font.

> The line spacing remains the same in Style.

Yes, the line spacing rules are different in Impression. They are as I 
outlined above: The resulting line spacing is independent of the font.

EasiWriter's default "Auto" linespacing follows a more sophisticated 
rule based on the font's ascent and descent measurements, so the line 
spacing depends on the measurements of the applied font. This is based 
on the behaviour of MS Word. EasiWriter's line spacing mode labelled 
"Exactly" is independent of the font.

I think I can see why the line spacing changes when going from Latin-1 
to Latin-2. EasiWriter uses the Latin-1 E-circumflex glyph to measure 
the font ascent, but in Latin-2 that codepoint happens to be 
E-cedilla, which does not have an accent, so the measured ascent is 
too small. There are much better methods to determine a font's metrics 
nowadays. Unfortunately, that ancient approach cannot be changed 
easily because it would change the layout of existing documents.

-- 
Martin
---------------------------------------------------------------------
Martin Wuerthner         MW Software      http://www.mw-software.com/
        RISC OS Software for Design, Printing and Publishing
---------------------------------------------------------------------

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