[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: [Bug 795130] Re: "middle" does not refer to the base line of the font



I hope you meant "use the overall font metrics to middle-align the text"
and not "make middle the same as lower"

Or better, just use the letter 'M' to determine middle alignment.

-- 
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/795130

Title:
  "middle" does not refer to the base line of the font

Status in GPL Electronic Design Automation tools:
  New

Bug description:
  Currently, the middle option of vertical text alignment refers to the
  middle of the actual string.

  To reproduce:

  1) open gschem

  2) add three separate texts "aaa", "ppp" and "ZZZ" with the accel [at]

  3) put the alignment mark of the strings on the same vertical grid
  line. The base line of the letters coincides now. All three strings
  are on the same height.

  4) set the alignment of the texts to "middle-left".
  The strings will move up by different amounts. As a result, the "ZZZ" is lower and the "ppp" is  higher than the other "aaa".  A similar sub optimum vertical alignment happens with the "upper" options. See the attached screenshot.

  That way, a hyphen is rendered at the same height as an underscore.
  This is clearly not usefull in the context of  pin labels and
  generally symbol design.

  Proposed fix: Align the the text with reference to the base line. The
  "lower" options already do this.

  ---<)kaimartin)>---

To manage notifications about this bug go to:
https://bugs.launchpad.net/geda/+bug/795130/+subscriptions


_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug