[haiku-commits] Re: AW: Re: haiku: hrev45221 - in docs/user/app: . docs/user

  • From: pulkomandy@xxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 09 Feb 2013 09:48:34 +0100

On 2013-02-09 at 08:14:31 [+0100], Stephan Aßmus <superstippi@xxxxxx> wrote:
> > The case that this commit is about is such a case. When we display the
> > info/warning/stop/idea icons they are 32x32 pixels in size because
> > that is the size of the source image. The font size of the explanatory
> > text is relative to the pixel size of the image so that it aligns
> > nicely. At 12px with a 1.3px line spacing exactly 2 lines fit within
> > the 32px height of the icon. I did this on purpose so that it would
> > look nice to your eye even if you didn't notice it consciously. If I
> > were to use points I could no longer make this assumption unless I
> > were to also specify the image dimensions in points and then it would
> > get scaled degrading the image quality.
> 
> I agree that when having to align script with images, it gets tricky to
> do it right. Either way has problems.

Can't we use SVG and set the picture size in points ? Since our icons 
already are vector, this shoudln't be a problem ?

-- 
Adrien.

Other related posts: