altium2kicad icon indicating copy to clipboard operation
altium2kicad copied to clipboard

Multi-line strings are not correctly imported

Open cdwijs opened this issue 6 years ago • 2 comments

I've imported a file with a 2 line string on the silkscreen. At the end of the first line an extra ? is imported. In Altium the string looks like this: corner radius In Kicad the string looks like this: corner? radius See the file "Tests\padnames.*" from my pull request: https://github.com/thesourcerer8/altium2kicad/pull/67

Cheers, Cedric

cdwijs avatar Dec 09 '18 09:12 cdwijs

In the Kicad file this is written: (gr_text "rounded \nrectangular" (at 29.08300 -37.59200 0) (layer F.SilkS) (effects (font (size 1.524 1.524) (thickness 0.1)) (justify left)) ) It should have been like this (rounded\nrectangular on one line) (gr_text "rounded\nrectangular" (at 29.08300 -37.59200 0) (layer F.SilkS) (effects (font (size 1.524 1.524) (thickness 0.1)) (justify left)) )

cdwijs avatar Dec 13 '18 00:12 cdwijs

The code that does this conversion starts at line 3096 (print "Texts6...\n";) at line 3190 the text is written to the Kicad file

cdwijs avatar Dec 13 '18 00:12 cdwijs