← All bug reports

FS#1892weird/inconsistent text-alignment

Type
Bug
Status
Closed
Resolution
Not a bug
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3.22.1
Operating system
All
Reported
2019-06-02 by bonsai
Closed
2019-06-03 by andrew

I guess I've discovered a bug:

Text elements align the same no matter if "base" or "bottom" alignment is chosen. The text is "shifting" (in both cases) when the characteristic "contains glyphs that cross the base line" is changed. Same shifting also occurs with text aligned "top" with having no glyphs reaching the top-line.
I assume this isn't the intended behaviour ...

For demonstration I attached a file where I've put lines (to align with) and three sample texts "as" (only "center"-glyphs), "aps" (glyph crossing base-line) and "this" (glyphs reaching top-line), each aligned with all vertical alignment-options (1-top, 2-midlle , 3-base , 4-bottom).

Hope fixing this dosen't take too much effort.
Regards,
Volker

Comments (1)

andrew 2019-06-03

These are all multi-line type texts with formatting. For such texts, this behaviour is correct.

You might want to experiment with simple texts instead (in the property editor change property "Simple" to "yes").