Font misalignment

Hello,
It seems (since 7.0 ?) that the fonts are slightly off, vertically.
With the default KiCad font, the letters are slightly higher, on Y axis. For example, if you try to add a text label to a pin, snaped to the grid, the text will be slightly offset.
See below:


The label “OUT” is 1mm high, aligned on the same grid as the pin. The grey lines are evenly spaced.
You can spot that the font is higher than the center (the letters touch the upper line whil they aren’t touching the lower one…)

Is this expected? Is there a setting somewhere?
Thank you!

Is this in 7.0.0 or 7.0.1?

It was shifted slightly in 7.0.0, for the purpose of accounting for descenders in lowercase letters like g or y, but I think in 7.0.1 it was changed back to match 6.0.

Oh sorry, I forgot to add the info, it’s 7.0.1

Application: KiCad x86_64 on x86_64

Version: 7.0.1-3b83917a11~172~ubuntu20.04.1, release build

Libraries:
	wxWidgets 3.2.1
	FreeType 2.10.1
	HarfBuzz 6.0.0
	FontConfig 2.13.1
	libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3

Platform: Ubuntu 20.04.6 LTS, 64 bit, Little endian, wxGTK, xubuntu, x11

Build Info:
	Date: Mar 15 2023 03:29:26
	wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.71.0
	OCC: 7.5.2
	Curl: 7.87.0
	ngspice: 38
	Compiler: GCC 9.4.0 with C++ ABI 1013

Build settings:
	KICAD_SPICE=ON

In older KiCad versions centering of texts in rotated resistors was not very symmetrical. So I did a test and now the value text fits perfectly inside a normal resistor, even when rotated:

Application: KiCad Schematic Editor x86_64 on x86_64

Version: 7.0.1-3b83917a11~172~ubuntu20.04.1, release build

Libraries:
	wxWidgets 3.2.1
	FreeType 2.10.1
	HarfBuzz 6.0.0
	FontConfig 2.13.1
	libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3

Platform: Linux Mint 20.3, 64 bit, Little endian, wxGTK, xfce, x11

Build Info:
	Date: Mar 15 2023 03:29:26
	wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.71.0
	OCC: 7.5.2
	Curl: 7.87.0
	ngspice: 38
	Compiler: GCC 9.4.0 with C++ ABI 1013

Build settings:
	KICAD_SPICE=ON
1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.