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

List:       koffice-devel
Subject:    Re: new font fixes
From:       Chris Howells <chris () chrishowells ! co ! uk>
Date:       2001-11-26 20:52:17
[Download RAW message or body]

On Friday 23 November 2001 1:21 pm, David Faure wrote:
> On Friday 23 November 2001 10:52, Thomas Zander wrote:
> > Hmm, after the commits made yesterday my document have gotten a _lot_
> > shorter; maybe a bit too short :)
> >
> > Take a peek at:
> >   http://www.microweb.nl/zander/kword-small-font.png
> >
> > Comments?

I get the same with CVS HEAD everything from friday (kdelibs and koffice), but
I think I saw it before Friday as well.

Qt is qt-copy from some time around the middle of last week, I guess.

> You updated and recompiled both libkotext and kword, right ?

Yes

> What's your X DPI setting ?

chris@venus:~> xdpyinfo | grep resolution
  resolution:    97x95 dots per inch

> Does it look like that at all zoom levels ?

Pretty much.

> Do you have libxft and is Qt compiled with -xft ?

Qt is compiled with -xft, but I haven't got AA switched on at the moment.

> What's the font actually used to display this ? (the document asks for
> "times" but with XFT there's never a font with that exact name, for me it
> uses "Lucida Sans". You can find out using Ctrl+Shift+V, waiting about 5
> minutes for the very verbose debug output to finish, and then looking at
> the format-collection debug (the last ~10 lines, between BEGIN and END). I
> see "realfont: LuciduxSans" here, for the most used format.

chris@venus:~> kword
kio (KTrader): KServiceTypeProfile::offers( KOfficePart, )
kio (KTrader): No profile, using KServiceType::offers, result: 9 offers
koffice (lib kofficecore):    desktopEntryPath=Office/kword.desktop
library=libkwordpart
kword (formatting): KoZoomHandler::setZoomAndResolution 100 97,95
m_resolutionX=1.347222 m_zoomedResolutionX=1.347222 m_resolutionY=1.319444
m_zoomedResolutionY=1.319444
kword (formatting): KoZoomHandler::setZoomAndResolution 100 97,95
m_resolutionX=1.347222 m_zoomedResolutionX=1.347222 m_resolutionY=1.319444
m_zoomedResolutionY=1.319444
kword (formatting): KoZoomHandler::setZoomAndResolution 450 97,95
m_resolutionX=1.347222 m_zoomedResolutionX=6.062500 m_resolutionY=1.319444
m_zoomedResolutionY=5.937500
kword (formatting): KoZoomHandler::setZoomAndResolution 450 97,95
m_resolutionX=1.347222 m_zoomedResolutionX=6.062500 m_resolutionY=1.319444
m_zoomedResolutionY=5.937500
kword: QFontInfo(font).pointSize() :16
kword: font.name() :helvetica
koffice (lib kofficecore): KoDocument::loadNativeFormat(
/opt/kde3/share/apps/kword/templates/Normal/.source/A4.kwt )
kword: KWDocument::loadXML
kword: KWDocument::setPageLayout WP
kword (formatting): KWDocument::recalcFrames
kword: KWDocument::loadXML KWTextFrameSet created 0x825ef80
kword: KWDocument::loadXML KWFrame created 0x8260730
kword (formatting): KWDocument::recalcFrames
kword: Loading took 0.319000 seconds
kparts: found Plugin : /opt/kde3/share/apps/kword/kpartplugins/scan-kword.rc !
kword: KParts::Plugin
kio (KTrader): KServiceTypeProfile::offers( KOfficePart, )
kio (KTrader): No profile, using KServiceType::offers, result: 9 offers
koffice (lib kofficecore):    desktopEntryPath=Office/kpresenter.desktop
library=libkpresenterpart
koffice (lib kofficecore):    desktopEntryPath=Office/kontour.desktop
library=libkontourpart
koffice (lib kofficecore):    desktopEntryPath=Office/kchart.desktop
library=libkchartpart
koffice (lib kofficecore):    desktopEntryPath=Office/kspread.desktop
library=libkspreadpart
koffice (lib kofficecore):    desktopEntryPath=kounavail.desktop
library=libkounavailpart
koffice (lib kofficecore):    desktopEntryPath=Office/kword.desktop
library=libkwordpart
koffice (lib kofficecore):    desktopEntryPath=Office/kformula.desktop
library=libkformulapart
koffice (lib kofficecore):    desktopEntryPath=Office/krayon.desktop
library=libkrayonpart
koffice (lib kofficecore):    desktopEntryPath=Office/kivio.desktop
library=libkiviopart
kword: Font not found helvetica
kparts: 0x811cfc0 emitting activePartChanged 0x80d70e0
kword: KWDocument::addCommand Insert Text
kdeui (KCommand): Initializing the Command History
koffice (lib kofficecore): KoDocument::setModified( true)
kparts: ReadWritePart::setModified( true)
kword: KWTextFrameSetEdit::newDrag <!DOCTYPE PARAGRAPHS>
<PARAGRAPHS>
 <PARAGRAPH>
  <TEXT>Some test</TEXT>
  <LAYOUT>
   <NAME value="Standard" />
   <FLOW align="left" />
   <FORMAT id="1" pos="0" len="9" >
    <WEIGHT value="50" />
    <FONT name="helvetica" />
    <SIZE value="14" />
    <ITALIC value="0" />
    <UNDERLINE value="0" />
    <STRIKEOUT value="0" />
    <VERTALIGN value="0" />
   </FORMAT>
  </LAYOUT>
 </PARAGRAPH>
</PARAGRAPHS>
kword:
kword: Paragraph 0x825e0a8   (0) [changedúlse, valid=true]
------------------
kword:   next is 0L
kword:   Style: 0x80f9888 Standard
kword:   Text: 'Some test '
kword:   Paragraph format=0x81d8a40 280/50/0/0/0//helvetica/0///0+0/
fontsize:280
kword: 0: 'S' (83) x(LU)=0 w(LU) x(PIX)=0 (xadj=0) w(PIX)=5 height7
"280/50/0/0/0//helvetica/0///0+0/"
kword: 1: 'o' (111) x(LU) w(LU) x(PIX)=5 (xadj=0) w(PIX)=4 height7
"280/50/0/0/0//helvetica/0///0+0/"
kword: 2: 'm' (109) x(LU)) w(LU)  x(PIX)=9 (xadj=0) w(PIX)=6 height7
"280/50/0/0/0//helvetica/0///0+0/"
kword: 3: 'e' (101) x(LU)I w(LU) x(PIX) (xadj=0) w(PIX)=4 height7
"280/50/0/0/0//helvetica/0///0+0/"
kword: 4: ' ' (32) x(LU)b w(LU)=6 x(PIX) (xadj=0) w(PIX)=2 height7
"280/50/0/0/0//helvetica/0///0+0/"
kword: 5: 't' (116) x(LU)h w(LU)=8 x(PIX)! (xadj=0) w(PIX)=2 height7
"280/50/0/0/0//helvetica/0///0+0/"
kword: 6: 'e' (101) x(LU)v w(LU) x(PIX)# (xadj=0) w(PIX)=4 height7
"280/50/0/0/0//helvetica/0///0+0/"
kword: 7: 's' (115) x(LU)‰ w(LU) x(PIX)' (xadj=0) w(PIX)=4 height7
"280/50/0/0/0//helvetica/0///0+0/"
kword: 8: 't' (116) x(LU)1 w(LU)=8 x(PIX)1 (xadj=0) w(PIX)=2 height7
"280/50/0/0/0//helvetica/0///0+0/"
kword: 9: ' ' (32) x(LU)9 w(LU)=6 x(PIX)3 (xadj=0) w(PIX)=2 height7
"280/50/0/0/0//helvetica/0///0+0/"
------------ QTextFormatCollection: debug --------------- BEGIN
------------ QTextFormatCollection: debug --------------- END


Suggestions greatfully accepted :)

--
Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org
Web: http://chrishowells.co.uk, PGP key: http://chrishowells.co.uk/pgp.txt
KDE: http://www.koffice.org, http://edu.kde.org, http://usability.kde.org


_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel

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

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