[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: KOffice 1.3 alpha?
From:       Ferdinand Gassauer <gassauer () kde ! org>
Date:       2003-03-23 19:23:44
[Download RAW message or body]

David Faure wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Sunday 23 March 2003 17:48, Ferdinand Gassauer wrote:
>> Werner, there are still some serious issues importing w97/xp docs.
>> - header, footer
>> - page numbering
>> - tables
>> - multi-column (I get only the first page) and this one is not rendered
>> completely correct.
> 
> Feel free to send us test documents for all those problems. That would
> definitely help!
> 
>> - (optional) font type replacement (IMHO very important, as this is the
>> "first" impression) - I know it has nothing to to with kword and the
>> filter
> 
> The problem of some fonts not being found?
> I took over whatever Shaheed had in his msword filter, so there is some
> replacement going on already.
> See KWordTextHandler::getFont() in texthandler.cpp
> 
>     static const char* const fuzzyLookup[ENTRIES][2] =
>     {
>         // MS contains      X11 font family
>         // substring.       non-Xft name.
>         { "times",          "times" },
>         { "courier",        "courier" },
>         { "andale",         "monotype" },
>         { "monotype.com",   "monotype" },
>         { "georgia",        "times" },
>         { "helvetica",      "helvetica" }
>     };
> 
>     // When Xft is available, Qt will do a good job of looking up our
>     local // equivalent of the MS font. But, we want to work even without
>     Xft. // So, first, we do a fuzzy match of some common MS font names.
> 
> (and then we use QFontInfo to let Qt load a font, so that we write
> out a font name that really exists in the end - but possibly not the best
> one).
> 
> Any suggestions welcome.
If I understood some of the postings correctly koffice only renders certain
font types correctly. IMHO _all_ imported fonts should be replaced with
fonts, which are rendered correctly as long as QT does not do it.
May be all fonts with no matching font set for ms and koffice (native and
the fuzzy set mentioned above) should be replaced with the font for the
standard style. eventualy issueing a message that this has been done.

see http://bugs.kde.org/show_bug.cgi?id=56126

> 
> - --
> David Faure -- faure@kde.org, dfaure@klaralvdalens-datakonsult.se
> Qt/KDE/KOffice developer
> Klarälvdalens Datakonsult AB, Platform-independent software solutions
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> 
> iD8DBQE+ffGw72KcVAmwbhARAg1wAJ9WeR45ri2hy39rq9FYyL+1OpVr9QCfRDIi
> lxGPFKngPmkmMi6fagXkazg=
> =wSoX
> -----END PGP SIGNATURE-----

-- 
cu
ferdinand
____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic