[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Increase/Decrease font size
From: Dirk Mueller <mueller () kde ! org>
Date: 2002-03-09 13:10:01
[Download RAW message or body]
On Sam, 09 Mär 2002, Koos Vriezen wrote:
> shows increasing/decreasing font sizes only works for text without a
> font-size style.
yes. that was how it was designed, I'm currently reworking that, but its
unclear if I can finish it before 3.0.
>
> + ConstFrameIt fr_it = d->m_frames.begin();
> + for (; fr_it != d->m_frames.end(); ++fr_it) {
> + KParts::ReadOnlyPart *p = (*fr_it).m_part;
> + if (p && p->inherits("KHTMLPart"))
> + static_cast<KHTMLPart *>(p)->updateFontSize(add);
> + }
please commit this patch.
> What to do with text with font-size styles? Should there be a
> magnification factor stored somewhere?
Yes, I'm preparing that.
Dirk
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic