Patch for position text with only justify from imported file. More accuary.
> On Feb 25 2016, at 9:05 pm, Eldar Khayrullin <eldar.khayrul...@mail.ru> wrote: And it apply only for free text not to refdes and value... > >> On Feb 25 2016, at 9:01 pm, Eldar Khayrullin <eldar.khayrul...@mail.ru> wrote: I find that I can select horizontal and vertical justification of Kicad text but vertical justify don't accessible from GUI. Can I use vertical justify? >> >>> On Feb 25 2016, at 7:02 pm, Eldar Khayrullin <eldar.khayrul...@mail.ru> wrote: I think about this. But in the begining I'll try to use easy way: using parametr 'extent' and calculate more pretty scale from PCAD to Kicad height and width >>> >>>> On Feb 25 2016, at 2:59 am, Piotr Esden-Tempski <pi...@esden.net> wrote: >>>> >>>> Regarding variable width font. I ran into the issue when I was trying to generate symbols for KiCad. To solve it I have generated a table with glyph widths from the C code used in KiCad itself. You can find my python table here: <https://github.com/esden/stm32-kicad- lib/blob/master/script/kicadlibgen.py> >>>> >>>> >>>> >>>> You might need to rescale the font size to match the KiCad font. So if you had a similar glyph size table for the PCAD font you might be able to generate the new text to fit into the same space as the original. >>>> >>>> >>>> >>>> I hope this is helpful in some way. >>>> >>>> >>>> >>>> If you want the code that I used to generate the glyph width table with let me know. >>>> >>>> >>>> >>>> Cheers, >>>> >>>> Esden >>>> >>>> >>>> >>>> >>>> >>>>> On Feb 24, 2016, at 9:57 AM, Eldar Khayrullin <[eldar.khayrul...@mail.ru](mailto:eldar.khayrul...@mail.ru)> wrote: >>>>> >>>>> >>>>> >>>>> Ok, glad to help. >>>>> >>>>>> On Feb 24 2016, at 8:55 pm, Wayne Stambaugh <[stambau...@gmail.com](mailto:stambau...@gmail.com)> wrote: >>>>>> >>>>>> If the differences are due to variable font width issues then there is not much we can do about that. Thanks for fixing this. >>>>>> >>>>>> On 2/24/2016 11:57 AM, Eldar Khayrullin wrote: > PCAD stroke font isn't fixed width font and KiCad font too. > I look for possible and try to solve this with more easy way > > On Feb 24 2016, at 7:51 pm, Wayne Stambaugh <[stambau...@gmail.com](mailto:stambau...@gmail.com)> > wrote: > > Eldar, > > Are you planning on actually determining the appropriate PCAD units for > text so that this can be converted accurately? While you patch makes > things better, I would prefer that we convert boards as accurately as > possible. I know we don't handle different fonts but there should be no > reason not to get the text position, height, and with correct. > > Wayne > > On 2/24/2016 11:34 AM, Eldar Khayrullin wrote: > > Thank you. Not ideal yet, but more truely > > > > On Feb 24 2016, at 3:00 pm, jp charras <[jp.char...@wanadoo.fr](mailto:jp.char...@wanadoo.fr)> wrote: > > > > Le 23/02/2016 13:36, Eldar Khayrullin a écrit : > > > Result > > > > > >> On Feb 23 2016, at 3:29 pm, Eldar Khayrullin > > > &lt;[eldar.khayrul...@mail.ru](mailto:eldar.khayrul...@mail.ru)&gt; wrote: > > > Apply Justify of text and flipped flag of text from import file. > > > > I committed your patches. > > AFAIK, they look good for me. > > Thanks. > > > > > > \-- > > Jean-Pierre CHARRAS > > > > _______________________________________________ > > Mailing list: <https://launchpad.net/~kicad-developers> > > Post to : [kicad-developers@lists.launchpad.net](mailto:kicad- develop...@lists.launchpad.net) > > Unsubscribe : <https://launchpad.net/~kicad-developers> > > More help : <https://help.launchpad.net/ListHelp> > > > > > > > > _______________________________________________ > > Mailing list: <https://launchpad.net/~kicad-developers> > > Post to : [kicad-developers@lists.launchpad.net](mailto:kicad- develop...@lists.launchpad.net) > > Unsubscribe : <https://launchpad.net/~kicad-developers> > > More help : <https://help.launchpad.net/ListHelp> > > > > _______________________________________________ > Mailing list: <https://launchpad.net/~kicad-developers> > Post to : [kicad-developers@lists.launchpad.net](mailto:kicad- develop...@lists.launchpad.net) > Unsubscribe : <https://launchpad.net/~kicad-developers> > More help : <https://help.launchpad.net/ListHelp> > >>>>> >>>>> _______________________________________________ Mailing list: <https://launchpad.net/~kicad-developers> Post to : [kicad-developers@lists.launchpad.net](mailto:kicad- develop...@lists.launchpad.net) Unsubscribe : <https://launchpad.net/~kicad-developers> More help : <https://help.launchpad.net/ListHelp> >>>> >>>>
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp