Re: RFP: XP font mapping mechanism

From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Thu Oct 03 2002 - 23:43:49 EDT

  • Next message: Michael D. Pritchett: "commit - build fixes for MSVC"

     --- Joaquin Cuenca Abela <e98cuenc@yahoo.com> wrote:
    > --- Alan Horkan <horkana@tcd.ie> wrote:
    > > On Thu, 3 Oct 2002, Jody Goldberg wrote:
    > > > On Thu, Oct 03, 2002 at 07:26:46AM +0100, Andrew
    > > Dunbar wrote:
    > > > > abi-dev. We load a document, map the fonts,
    > > > > and when we save it we have something like
    > > > > "explicit-font:Arial",
    > > > > "mapped-font:zz_AbiWordUglyArial".
    > > >
    > > > Why save mapped-font at all ? That seems like a
    > > > needless complication.
    > >
    > > From a web background i can understand why you
    > > might not see the use fo this but the kind of
    > > people who like WYSIWYG and like to specify as
    > > exactly as possible what a document is going to
    > > look like will probably
    >
    > I'm with Jody here. The mapping algorithm has 2
    > parts: a fixed, reproducible one, and a second part
    > driven by user preferences. We should not impose
    > the font alias preferences of the author of the
    > document in the reader of the document.
    >
    > In addition, nothing forces the reader to have the
    > "mapped" font in his system. So, when this
    > information becomes useful in the reading of the
    > document? I don't see it useful at all.

    From memory I came up with this as a compromise when
    the other party in the discussion firmly believed
    AbiWord should replace the original font tags with
    the names of the font it used for mapping, when the
    user saved it again. I called his idea "hard
    remapping", and the idea this discussion is focusing
    on "soft remapping". The user didn't see the point of
    keeping all the Windows font names in a Linux document
    just because the original document was written on
    Windows. I came up with a compromise which satisfied
    the thread at the time.

    Maybe the solution looks a little different if the
    attributes were names "windows-font" and "linux-font".
    I think the user wanted to be sure that his documents
    would use the same font on every Linux that had the
    same fonts so he wanted it in the document.

    I'd rather have a good deterministic mapper like we're
    talking about now myself.

    Andrew.

    > Cheers,
    >
    >
    > =====
    > Joaquin Cuenca Abela
    > e98cuenc@yahoo.com
    >
    > __________________________________________________
    > Do you Yahoo!?
    > New DSL Internet Access from SBC & Yahoo!
    > http://sbc.yahoo.com

    =====
    http://linguaphile.sourceforge.net/cgi-bin/translator.pl http://www.abisource.com

    __________________________________________________
    Do You Yahoo!?
    Everything you'll ever need on one web page
    from News and Sport to Email and Music Charts
    http://uk.my.yahoo.com



    This archive was generated by hypermail 2.1.4 : Thu Oct 03 2002 - 23:49:24 EDT