[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
KaiMartin: Could you please check whether the alignment of text is
correct in the PS output, or whether it exhibits the same behaviour?
DJ:
> Or better, just use the letter 'M' to determine middle alignment.
How is that "better"? That heuristic depends on the invalid assumption
that the text uses the Latin alphabet.
Using the overall font metrics is the "right thing" here, but as usual
we need to be careful not to gratuitously break everyone's existing
schematics.
** Changed in: geda
Status: New => Incomplete
** Tags added: gschem
--
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:
Incomplete
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