Skip to content

[KiCad 9 BUG] Left/right-aligned value fields in PDF schematic with custom font are printed with incorrect positions #788

@nguyen-v

Description

@nguyen-v

Fill as much as you can, remove the rest

Describe the bug
When using left or right alignment in the value field of components using a font other than the KiCad font, the alignment of that text doesn't seem to work correctly. The alignment also is not consistent for the same font, if it is set with the default_font option (here set as 'Times New Roman') or just in the text itself.

In KiCad schematic editor:

Image

Output PDF:

Image

To Reproduce
Download the following project and run
kicad9_tests.zip

kibot -c 'kibot_yaml/kibot_main.yaml' pdf_schematic

Expected behavior
The output should be similar to what is seen on the schematic

Environment (please complete the following information):
Where are you running KiBot:

  • tried in both CI/CD (v2_dk9) and locally (last dev branch).

Additional context
Might be an issue with KiCad and not KiBot, but still reporting here for posterity

Metadata

Metadata

Assignees

Labels

kicad_bugA problem related to a KiCad issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions