[haiku-bugs] Re: [Haiku] #13378: Checkmark label alignment too low

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Sun, 26 Mar 2017 18:45:50 -0000

#13378: Checkmark label alignment too low
----------------------------------+----------------------------
   Reporter:  humdinger           |      Owner:  axeld
       Type:  enhancement         |     Status:  new
   Priority:  normal              |  Milestone:  Unscheduled
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by pulkomandy):

 I wonder how we can compute something that works for all fonts and font
 sizes.
 For a font, we know the "baseline", which is usually just below the
 characters, and we know "ascents" and "descents" height (that is, the size
 of things that can go above or below the baseline). But, this does not
 give us a way to find the vertical "center" of the font.
 What should it be aligned with anyway? Center bar of H? Middle of o or
 central bar of e? In the middle between baseline and ascents?

--
Ticket URL: <https://dev.haiku-os.org/ticket/13378#comment:6>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: