Re: [Kicad-developers] "Multichannel signed distance field" font rendering
same here on osx On Sun, Sep 11, 2016 at 2:38 PM, Chris Pavlinawrote: > Works great on my big-ass board, and looks *so* much better. Zooming > feels ever so slightly slower on this board, but not enough to matter. > > On Sat, Sep 10, 2016 at 05:05:24PM +0200, Michael Steinberg wrote: >> Hello there, >> >> I've been working on trying to solve the blurred font issue in the OpenGL >> canvas. The current state of the work can be found in my branch "sdf" ( >> https://code.launchpad.net/~decimad/kicad/+git/kicad/+ref/sdf ). It uses a >> technique called "multichannel signed distance field" to recreate clear >> edges and corners in high zoom situations. The code is not polished for >> commiting yet! A motivational comparison screenshot before/after: >> https://s10.postimg.io/k00tnaax5/comparison.png >> >> It would be great if brave members could test the branch to see if it runs >> well on different hardware levels and if you are happy with the visuals. >> >> To create the font texture atlas I wrote a command-line tool that is only >> set up to build on windows currently (nothing platform dependent included, >> but it's currently a visual studio project). I don't know if there's a space >> to upload helper tools and if platform dependency would be accepted there. I >> could probably upload it to a github project though. >> >> Cheers! >> Michael >> >> >> ___ >> 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 > > ___ > 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 ___ 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
Re: [Kicad-developers] "Multichannel signed distance field" font rendering
Works great on my big-ass board, and looks *so* much better. Zooming feels ever so slightly slower on this board, but not enough to matter. On Sat, Sep 10, 2016 at 05:05:24PM +0200, Michael Steinberg wrote: > Hello there, > > I've been working on trying to solve the blurred font issue in the OpenGL > canvas. The current state of the work can be found in my branch "sdf" ( > https://code.launchpad.net/~decimad/kicad/+git/kicad/+ref/sdf ). It uses a > technique called "multichannel signed distance field" to recreate clear > edges and corners in high zoom situations. The code is not polished for > commiting yet! A motivational comparison screenshot before/after: > https://s10.postimg.io/k00tnaax5/comparison.png > > It would be great if brave members could test the branch to see if it runs > well on different hardware levels and if you are happy with the visuals. > > To create the font texture atlas I wrote a command-line tool that is only > set up to build on windows currently (nothing platform dependent included, > but it's currently a visual studio project). I don't know if there's a space > to upload helper tools and if platform dependency would be accepted there. I > could probably upload it to a github project though. > > Cheers! > Michael > > > ___ > 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 ___ 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
Re: [Kicad-developers] "Multichannel signed distance field" font rendering
10/09/16, 18:05, Michael Steinberg kirjoitti: > It would be great if brave members could test the branch to see if it > runs well on different hardware levels and if you are happy with the > visuals. Seems fine on [AMD/ATI] RV610 [Radeon HD 2400 PRO/XT] using open source drivers of Ubuntu 16.04. The font rendering is much better on all sizes. -Vesa ___ 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
Re: [Kicad-developers] [PATCH] Print layer names in pcbnew
Pushed. On Sat, Sep 10, 2016 at 02:16:23PM -0400, Ian Roth wrote: > The change looks good. I think it is ready to be pushed. > > On Sat, Sep 10, 2016 at 2:10 PM, Chris Pavlina> wrote: > > > Only one more comment, but a small one so I fixed it for you. I've > > attached a fixup diff against yours, please let me know that you are > > okay with the changes made to your patch and I'll push it. > > > > 1. The phrase "Multiple Layers" must be translateable so that it will > > display in the language of the current locale. > > > > 2. I bumped the copyright year to 2016 on the files you edited. > > > > Thank you for your contribution! > > > > > > On Sat, Sep 10, 2016 at 01:51:13PM -0400, Ian Roth wrote: > > > Attached is an updated patch. The need for this is that at the place > > that I > > > work, we are to document all board layouts. I use the print function in > > > pcbnew, and select 1 layer per page since the documentation is to be in > > > black and white. This works great, except that there is no way to flip > > to a > > > page and know what layer you are looking at unless you are already > > familiar > > > with the board. This patch makes looking over the documentation easier > > > since the layer name, ie. F.Cu, B.Cu et cetera is printed in the > > worksheet. > > > > > > Please feel free to ask any additional questions. > > > > > > Ian > > > > > > On Sat, Sep 10, 2016 at 8:15 AM, Chris Pavlina > > > wrote: > > > > > > > What it says on the tin. It adds a %L format string to labels in the > > > > worksheet (title block) that will contain the layer name when printed. > > > > > > > > I like this, but I agree with Wayne - having to edit so many files > > > > because of how the layer name is being passed in is just not good. > > > > Having that many function parameters in general can get irritating and > > > > confusing. > > > > > > > > On Sat, Sep 10, 2016 at 02:02:01PM +0200, Nick Østergaard wrote: > > > > > I have not tried this patch, but could you be a bit more descriptive > > of > > > > > what this patch do for the user and why? > > > > > > > > > > Den 08/09/2016 17.09 skrev "Ian Roth" : > > > > > > > > > > > This patch allows for printing layer names in pcbnew using a %L > > > > formater. > > > > > > This is helpful when printing 1 layer per page. > > > > > > > > > > > > Ian > > > > > > > > > > > > ___ > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > ___ 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
Re: [Kicad-developers] [PATCH] Print layer names in pcbnew
The change looks good. I think it is ready to be pushed. On Sat, Sep 10, 2016 at 2:10 PM, Chris Pavlinawrote: > Only one more comment, but a small one so I fixed it for you. I've > attached a fixup diff against yours, please let me know that you are > okay with the changes made to your patch and I'll push it. > > 1. The phrase "Multiple Layers" must be translateable so that it will > display in the language of the current locale. > > 2. I bumped the copyright year to 2016 on the files you edited. > > Thank you for your contribution! > > > On Sat, Sep 10, 2016 at 01:51:13PM -0400, Ian Roth wrote: > > Attached is an updated patch. The need for this is that at the place > that I > > work, we are to document all board layouts. I use the print function in > > pcbnew, and select 1 layer per page since the documentation is to be in > > black and white. This works great, except that there is no way to flip > to a > > page and know what layer you are looking at unless you are already > familiar > > with the board. This patch makes looking over the documentation easier > > since the layer name, ie. F.Cu, B.Cu et cetera is printed in the > worksheet. > > > > Please feel free to ask any additional questions. > > > > Ian > > > > On Sat, Sep 10, 2016 at 8:15 AM, Chris Pavlina > > wrote: > > > > > What it says on the tin. It adds a %L format string to labels in the > > > worksheet (title block) that will contain the layer name when printed. > > > > > > I like this, but I agree with Wayne - having to edit so many files > > > because of how the layer name is being passed in is just not good. > > > Having that many function parameters in general can get irritating and > > > confusing. > > > > > > On Sat, Sep 10, 2016 at 02:02:01PM +0200, Nick Østergaard wrote: > > > > I have not tried this patch, but could you be a bit more descriptive > of > > > > what this patch do for the user and why? > > > > > > > > Den 08/09/2016 17.09 skrev "Ian Roth" : > > > > > > > > > This patch allows for printing layer names in pcbnew using a %L > > > formater. > > > > > This is helpful when printing 1 layer per page. > > > > > > > > > > Ian > > > > > > > > > > ___ > > > > > 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 > > > > > > > > > > > > > > > > > > ___ 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
Re: [Kicad-developers] [PATCH] Print layer names in pcbnew
Only one more comment, but a small one so I fixed it for you. I've attached a fixup diff against yours, please let me know that you are okay with the changes made to your patch and I'll push it. 1. The phrase "Multiple Layers" must be translateable so that it will display in the language of the current locale. 2. I bumped the copyright year to 2016 on the files you edited. Thank you for your contribution! On Sat, Sep 10, 2016 at 01:51:13PM -0400, Ian Roth wrote: > Attached is an updated patch. The need for this is that at the place that I > work, we are to document all board layouts. I use the print function in > pcbnew, and select 1 layer per page since the documentation is to be in > black and white. This works great, except that there is no way to flip to a > page and know what layer you are looking at unless you are already familiar > with the board. This patch makes looking over the documentation easier > since the layer name, ie. F.Cu, B.Cu et cetera is printed in the worksheet. > > Please feel free to ask any additional questions. > > Ian > > On Sat, Sep 10, 2016 at 8:15 AM, Chris Pavlina> wrote: > > > What it says on the tin. It adds a %L format string to labels in the > > worksheet (title block) that will contain the layer name when printed. > > > > I like this, but I agree with Wayne - having to edit so many files > > because of how the layer name is being passed in is just not good. > > Having that many function parameters in general can get irritating and > > confusing. > > > > On Sat, Sep 10, 2016 at 02:02:01PM +0200, Nick Østergaard wrote: > > > I have not tried this patch, but could you be a bit more descriptive of > > > what this patch do for the user and why? > > > > > > Den 08/09/2016 17.09 skrev "Ian Roth" : > > > > > > > This patch allows for printing layer names in pcbnew using a %L > > formater. > > > > This is helpful when printing 1 layer per page. > > > > > > > > Ian > > > > > > > > ___ > > > > 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 > > > > > > > > > > > > >From 5aefbf74dc39946d37cdd60527dfe6ba264ba790 Mon Sep 17 00:00:00 2001 From: Chris Pavlina Date: Sat, 10 Sep 2016 14:08:33 -0400 Subject: [PATCH] fixup! Add %L formatter to worksheets to print layer name. --- common/worksheet.cpp | 2 +- gerbview/printout_control.cpp | 2 +- include/worksheet.h | 2 +- include/worksheet_shape_builder.h | 2 +- pcbnew/printout_controler.cpp | 4 ++-- pcbnew/printout_controler.h | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/common/worksheet.cpp b/common/worksheet.cpp index 45fcac2..367fa98 100644 --- a/common/worksheet.cpp +++ b/common/worksheet.cpp @@ -8,7 +8,7 @@ /* * This program source code file is part of KiCad, a free EDA CAD application. * - * Copyright (C) 1992-2013 KiCad Developers, see change_log.txt for contributors. + * Copyright (C) 1992-2016 KiCad Developers, see AUTHORS.txt for contributors. * * * This program is free software; you can redistribute it and/or diff --git a/gerbview/printout_control.cpp b/gerbview/printout_control.cpp index 74f35aa..cc0da57 100644 --- a/gerbview/printout_control.cpp +++ b/gerbview/printout_control.cpp @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2014 Jean-Pierre Charras, jp.charras at wanadoo.fr - * Copyright (C) 1992-2014 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 1992-2016 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/include/worksheet.h b/include/worksheet.h index fbd53cb..cb2a667 100644 --- a/include/worksheet.h +++ b/include/worksheet.h @@ -1,7 +1,7 @@ /* * This program source code file is part of KiCad, a free EDA CAD application. * - * Copyright (C) 1992-2014 KiCad Developers, see CHANGELOG.TXT for contributors. + * Copyright (C) 1992-2016 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/include/worksheet_shape_builder.h b/include/worksheet_shape_builder.h index bd9af9a..69b2000 100644 --- a/include/worksheet_shape_builder.h +++ b/include/worksheet_shape_builder.h @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2013-2014 Jean-Pierre Charras, jp.charras at wanadoo.fr - * Copyright (C) 1992-2014 KiCad Developers, see CHANGELOG.TXT for contributors. + * Copyright (C) 1992-2016 KiCad
Re: [Kicad-developers] [PATCH] Print layer names in pcbnew
Attached is an updated patch. The need for this is that at the place that I work, we are to document all board layouts. I use the print function in pcbnew, and select 1 layer per page since the documentation is to be in black and white. This works great, except that there is no way to flip to a page and know what layer you are looking at unless you are already familiar with the board. This patch makes looking over the documentation easier since the layer name, ie. F.Cu, B.Cu et cetera is printed in the worksheet. Please feel free to ask any additional questions. Ian On Sat, Sep 10, 2016 at 8:15 AM, Chris Pavlinawrote: > What it says on the tin. It adds a %L format string to labels in the > worksheet (title block) that will contain the layer name when printed. > > I like this, but I agree with Wayne - having to edit so many files > because of how the layer name is being passed in is just not good. > Having that many function parameters in general can get irritating and > confusing. > > On Sat, Sep 10, 2016 at 02:02:01PM +0200, Nick Østergaard wrote: > > I have not tried this patch, but could you be a bit more descriptive of > > what this patch do for the user and why? > > > > Den 08/09/2016 17.09 skrev "Ian Roth" : > > > > > This patch allows for printing layer names in pcbnew using a %L > formater. > > > This is helpful when printing 1 layer per page. > > > > > > Ian > > > > > > ___ > > > 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 > > > > > > > > printing.patch Description: Binary data ___ 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
Re: [Kicad-developers] "Multichannel signed distance field" font rendering
It seems to work as expected on Arch Linux 32 bit. On Sat, Sep 10, 2016 at 6:05 PM, Michael Steinbergwrote: > Hello there, > > I've been working on trying to solve the blurred font issue in the OpenGL > canvas. The current state of the work can be found in my branch "sdf" ( > https://code.launchpad.net/~decimad/kicad/+git/kicad/+ref/sdf ). It uses > a technique called "multichannel signed distance field" to recreate clear > edges and corners in high zoom situations. The code is not polished for > commiting yet! A motivational comparison screenshot before/after: > https://s10.postimg.io/k00tnaax5/comparison.png > > It would be great if brave members could test the branch to see if it runs > well on different hardware levels and if you are happy with the visuals. > > To create the font texture atlas I wrote a command-line tool that is only > set up to build on windows currently (nothing platform dependent included, > but it's currently a visual studio project). I don't know if there's a > space to upload helper tools and if platform dependency would be accepted > there. I could probably upload it to a github project though. > > Cheers! > Michael > > > ___ > 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 > ___ 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
Re: [Kicad-developers] [BUG] fix style of gost page layouts
Okay, pushed this one. :) On Sat, Sep 10, 2016 at 06:58:09PM +0300, Eldar Khayrullin wrote: > Sorry for noise. > I have added the final patch. > > В Суббота, 10 сен. 2016 в 6:32 , Chris Pavlina> написал: > >...okay, pushed, then reverted. > > > >Can you please explain what you want us to do? > > > >On Sat, Sep 10, 2016 at 06:29:33PM +0300, Eldar Khayrullin wrote: > >> Please don't commit it yet. I fix it in accordance of > >> https://bugs.launchpad.net/kicad/+bug/1622184 > >> > >> В Суббота, 10 сен. 2016 в 6:26 , Eldar Khayrullin > >> > >> написал: > >> >Hello guys. > >> >I have added patch that fix style of gost page layouts in accordance > >>of > >> >the standart GOST 2.104-2006. > > ___ 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
Re: [Kicad-developers] [BUG] fix style of gost page layouts
Sorry for noise. I have added the final patch. В Суббота, 10 сен. 2016 в 6:32 , Chris Pavlinaнаписал: ...okay, pushed, then reverted. Can you please explain what you want us to do? On Sat, Sep 10, 2016 at 06:29:33PM +0300, Eldar Khayrullin wrote: Please don't commit it yet. I fix it in accordance of https://bugs.launchpad.net/kicad/+bug/1622184 В Суббота, 10 сен. 2016 в 6:26 , Eldar Khayrullin написал: >Hello guys. >I have added patch that fix style of gost page layouts in accordance of >the standart GOST 2.104-2006. diff --git a/template/gost_landscape.kicad_wks b/template/gost_landscape.kicad_wks index 4888afd..6758ea9 100644 --- a/template/gost_landscape.kicad_wks +++ b/template/gost_landscape.kicad_wks @@ -1,5 +1,5 @@ -( page_layout - (setup(textsize 2.5 2.5)(linewidth 0.3)(textlinewidth 0.3) +(page_layout + (setup (textsize 2.5 2.5)(linewidth 0.3)(textlinewidth 0.25) (left_margin 8)(right_margin 5)(top_margin 5)(bottom_margin 5)) (line (name segm1:Line) (start 0 60 lbcorner) (end 12 60 lbcorner) (linewidth 0.6) (repeat 3) (incry 25)) (line (name segm2:Line) (start 96 0 ltcorner) (end 96 14 ltcorner) (option page1only) (linewidth 0.6) (repeat 2) (incrx 53)) @@ -17,69 +17,71 @@ (line (name segm14:Line) (start 185 40) (end 120 40) (option page1only) (repeat 3) (incry 5)) (line (name segm15:Line) (start 185 30) (end 120 30) (option page1only) (linewidth 0.6) (repeat 2) (incry 5)) (line (name segm16:Line) (start 185 5) (end 120 5) (option page1only) (repeat 5) (incry 5)) - (line (name segm17:Line) (start 185 55) (end 0 55) (option page1only) (linewidth 0.6)) - (line (name segm18:Line) (start 0 145 lbcorner) (end 0 0 lbcorner) (linewidth 0.6) (repeat 2) (incrx 5)) - (line (name segm19:Line) (start 45 35) (end 45 20) (option page1only) (repeat 2) (incrx -5)) - (line (name segm20:Line) (start 35 40) (end 35 20) (option page1only) (linewidth 0.6) (repeat 2) (incrx -17)) - (line (name segm21:Line) (start 50 20) (end 0 20) (option page1only) (linewidth 0.6) (repeat 2) (incry 15)) - (line (name segm22:Line) (start 50 40) (end 50 0) (option page1only) (linewidth 0.6)) - (line (name segm23:Line) (start 120 15) (end 0 15) (option page1only) (linewidth 0.6)) - (line (name segm24:Line) (start 120 40) (end 0 40) (option page1only) (linewidth 0.6)) - (line (name segm25:Line) (start 185 0) (end 185 55) (option page1only) (linewidth 0.6)) + (line (name segm17:Line) (start 120 63) (end 0 63) (option page1only) (linewidth 0.6)) + (line (name segm18:Line) (start 120 55) (end 120 63) (option page1only) (linewidth 0.6)) + (line (name segm19:Line) (start 185 55) (end 0 55) (option page1only) (linewidth 0.6)) + (line (name segm20:Line) (start 0 145 lbcorner) (end 0 0 lbcorner) (linewidth 0.6) (repeat 2) (incrx 5)) + (line (name segm21:Line) (start 45 35) (end 45 20) (option page1only) (repeat 2) (incrx -5)) + (line (name segm22:Line) (start 35 40) (end 35 20) (option page1only) (linewidth 0.6) (repeat 2) (incrx -17)) + (line (name segm23:Line) (start 50 20) (end 0 20) (option page1only) (linewidth 0.6) (repeat 2) (incry 15)) + (line (name segm24:Line) (start 50 40) (end 50 0) (option page1only) (linewidth 0.6)) + (line (name segm25:Line) (start 120 15) (end 0 15) (option page1only) (linewidth 0.6)) + (line (name segm26:Line) (start 120 40) (end 0 40) (option page1only) (linewidth 0.6)) + (line (name segm27:Line) (start 185 0) (end 185 55) (option page1only) (linewidth 0.6)) (rect (name rect1:Rect) (start 12 0 lbcorner) (end 0 0 rtcorner) (linewidth 0.6)) - (tbtext ÐиÑÑ (name text1:Text) (pos 173 32.5) (option page1only) (justify center)) - (tbtext %C2 (name text2:Text) (pos 167.5 22.5) (option page1only) (maxlen 22)) - (tbtext ÐÑов. (name text3:Text) (pos 184.5 22.5) (option page1only)) - (tbtext УÑв. (name text4:Text) (pos 184.5 2.5) (option page1only)) - (tbtext Ð.конÑÑ. (name text5:Text) (pos 184.5 7.5) (option page1only)) - (tbtext ÐиÑ. (name text6:Text) (pos 42 37.5) (option page1only) (justify center)) - (tbtext %C0 (name text7:Text) (pos 60 47.5) (option page1only) (font (size 5 5)) (justify center) (maxlen 119)) - (tbtext %N (name text8:Text) (pos 8 17.5) (option page1only) (justify center)) - (line (name segm26:Line) (start 185 15) (end 185 0) (option notonpage1) (linewidth 0.6)) - (line (name segm27:Line) (start 185 15) (end 0 15) (option notonpage1) (linewidth 0.6)) - (tbtext %Y (name text9:Text) (pos 25 7) (option page1only) (justify center) (maxlen 49) (maxheight 14)) - (tbtext %T (name text10:Text) (pos 85 27.5) (option page1only) (justify center) (maxlen 69) (maxheight 24)) - (tbtext ÐиÑÑов (name text11:Text) (pos 29 17.5) (option page1only)) - (tbtext %C0 (name text12:Text) (pos 47 7 ltcorner) (rotate 180) (font (size 3.5 3.5)) (justify center) (maxlen 69)) - (tbtext %S (name text13:Text) (pos 35 17.5) (option page1only) (justify center)) - (tbtext
Re: [Kicad-developers] [BUG] fix style of gost page layouts
Please don't commit it yet. I fix it in accordance of https://bugs.launchpad.net/kicad/+bug/1622184 В Суббота, 10 сен. 2016 в 6:26 , Eldar Khayrullinнаписал: Hello guys. I have added patch that fix style of gost page layouts in accordance of the standart GOST 2.104-2006. ___ 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
[Kicad-developers] [BUG] fix style of gost page layouts
Hello guys. I have added patch that fix style of gost page layouts in accordance of the standart GOST 2.104-2006. diff --git a/template/gost_landscape.kicad_wks b/template/gost_landscape.kicad_wks index 4888afd..b76702f 100644 --- a/template/gost_landscape.kicad_wks +++ b/template/gost_landscape.kicad_wks @@ -1,5 +1,5 @@ -( page_layout - (setup(textsize 2.5 2.5)(linewidth 0.3)(textlinewidth 0.3) +(page_layout + (setup (textsize 2.5 2.5)(linewidth 0.3)(textlinewidth 0.3) (left_margin 8)(right_margin 5)(top_margin 5)(bottom_margin 5)) (line (name segm1:Line) (start 0 60 lbcorner) (end 12 60 lbcorner) (linewidth 0.6) (repeat 3) (incry 25)) (line (name segm2:Line) (start 96 0 ltcorner) (end 96 14 ltcorner) (option page1only) (linewidth 0.6) (repeat 2) (incrx 53)) @@ -17,69 +17,71 @@ (line (name segm14:Line) (start 185 40) (end 120 40) (option page1only) (repeat 3) (incry 5)) (line (name segm15:Line) (start 185 30) (end 120 30) (option page1only) (linewidth 0.6) (repeat 2) (incry 5)) (line (name segm16:Line) (start 185 5) (end 120 5) (option page1only) (repeat 5) (incry 5)) - (line (name segm17:Line) (start 185 55) (end 0 55) (option page1only) (linewidth 0.6)) - (line (name segm18:Line) (start 0 145 lbcorner) (end 0 0 lbcorner) (linewidth 0.6) (repeat 2) (incrx 5)) - (line (name segm19:Line) (start 45 35) (end 45 20) (option page1only) (repeat 2) (incrx -5)) - (line (name segm20:Line) (start 35 40) (end 35 20) (option page1only) (linewidth 0.6) (repeat 2) (incrx -17)) - (line (name segm21:Line) (start 50 20) (end 0 20) (option page1only) (linewidth 0.6) (repeat 2) (incry 15)) - (line (name segm22:Line) (start 50 40) (end 50 0) (option page1only) (linewidth 0.6)) - (line (name segm23:Line) (start 120 15) (end 0 15) (option page1only) (linewidth 0.6)) - (line (name segm24:Line) (start 120 40) (end 0 40) (option page1only) (linewidth 0.6)) - (line (name segm25:Line) (start 185 0) (end 185 55) (option page1only) (linewidth 0.6)) + (line (name segm17:Line) (start 120 63) (end 0 63) (option page1only) (linewidth 0.6)) + (line (name segm18:Line) (start 120 55) (end 120 63) (option page1only) (linewidth 0.6)) + (line (name segm19:Line) (start 185 55) (end 0 55) (option page1only) (linewidth 0.6)) + (line (name segm20:Line) (start 0 145 lbcorner) (end 0 0 lbcorner) (linewidth 0.6) (repeat 2) (incrx 5)) + (line (name segm21:Line) (start 45 35) (end 45 20) (option page1only) (repeat 2) (incrx -5)) + (line (name segm22:Line) (start 35 40) (end 35 20) (option page1only) (linewidth 0.6) (repeat 2) (incrx -17)) + (line (name segm23:Line) (start 50 20) (end 0 20) (option page1only) (linewidth 0.6) (repeat 2) (incry 15)) + (line (name segm24:Line) (start 50 40) (end 50 0) (option page1only) (linewidth 0.6)) + (line (name segm25:Line) (start 120 15) (end 0 15) (option page1only) (linewidth 0.6)) + (line (name segm26:Line) (start 120 40) (end 0 40) (option page1only) (linewidth 0.6)) + (line (name segm27:Line) (start 185 0) (end 185 55) (option page1only) (linewidth 0.6)) (rect (name rect1:Rect) (start 12 0 lbcorner) (end 0 0 rtcorner) (linewidth 0.6)) - (tbtext ÐиÑÑ (name text1:Text) (pos 173 32.5) (option page1only) (justify center)) - (tbtext %C2 (name text2:Text) (pos 167.5 22.5) (option page1only) (maxlen 22)) - (tbtext ÐÑов. (name text3:Text) (pos 184.5 22.5) (option page1only)) - (tbtext УÑв. (name text4:Text) (pos 184.5 2.5) (option page1only)) - (tbtext Ð.конÑÑ. (name text5:Text) (pos 184.5 7.5) (option page1only)) - (tbtext ÐиÑ. (name text6:Text) (pos 42 37.5) (option page1only) (justify center)) - (tbtext %C0 (name text7:Text) (pos 60 47.5) (option page1only) (font (size 5 5)) (justify center) (maxlen 119)) - (tbtext %N (name text8:Text) (pos 8 17.5) (option page1only) (justify center)) - (line (name segm26:Line) (start 185 15) (end 185 0) (option notonpage1) (linewidth 0.6)) - (line (name segm27:Line) (start 185 15) (end 0 15) (option notonpage1) (linewidth 0.6)) - (tbtext %Y (name text9:Text) (pos 25 7) (option page1only) (justify center) (maxlen 49) (maxheight 14)) - (tbtext %T (name text10:Text) (pos 85 27.5) (option page1only) (justify center) (maxlen 69) (maxheight 24)) - (tbtext ÐиÑÑов (name text11:Text) (pos 29 17.5) (option page1only)) - (tbtext %C0 (name text12:Text) (pos 47 7 ltcorner) (rotate 180) (font (size 3.5 3.5)) (justify center) (maxlen 69)) - (tbtext %S (name text13:Text) (pos 35 17.5) (option page1only) (justify center)) - (tbtext ÐиÑÑ (name text14:Text) (pos 49 17.5) (option page1only)) - (line (name segm28:Line) (start 30 20) (end 30 15) (option page1only) (linewidth 0.6)) - (tbtext ÐаÑÑÑаб (name text15:Text) (pos 9 37.5) (option page1only) (justify center)) - (tbtext ÐаÑÑа (name text16:Text) (pos 26.5 37.5) (option page1only) (justify center)) - (tbtext %C3 (name text17:Text) (pos 167.5 2.5) (option page1only) (maxlen 22)) - (tbtext %C1 (name text18:Text) (pos 167.5 27.5) (option
Re: [Kicad-developers] "Multichannel signed distance field" font rendering
It works great on my end! As for the tool, I think it would be good to just have it in a repo on github, as it could be very useful for other projects too. On Sat, Sep 10, 2016 at 10:05 AM, Michael Steinbergwrote: > Hello there, > > I've been working on trying to solve the blurred font issue in the OpenGL > canvas. The current state of the work can be found in my branch "sdf" ( > https://code.launchpad.net/~decimad/kicad/+git/kicad/+ref/sdf ). It uses a > technique called "multichannel signed distance field" to recreate clear > edges and corners in high zoom situations. The code is not polished for > commiting yet! A motivational comparison screenshot before/after: > https://s10.postimg.io/k00tnaax5/comparison.png > > It would be great if brave members could test the branch to see if it runs > well on different hardware levels and if you are happy with the visuals. > > To create the font texture atlas I wrote a command-line tool that is only > set up to build on windows currently (nothing platform dependent included, > but it's currently a visual studio project). I don't know if there's a space > to upload helper tools and if platform dependency would be accepted there. I > could probably upload it to a github project though. > > Cheers! > Michael > > > ___ > 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 ___ 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
Re: [Kicad-developers] announcing eeshow (schematics renderer and viewer)
Hey, this is great, tested on Debian 8.5 1. I would propose to add this one liner to documentation for dependencies in Ubuntu and Debian: sudo aptitude install libgtk-3-dev libcairo2-dev libgit2-dev transfig imagemagick and to add "sudo" before "make install" 2. Paths are broken for me for some symbols, because I have Kicad in /usr/local/share/kicad /usr/share/kicad/library/contrib.lib: No such file or directory valves.lib: No such file or directory /usr/share/kicad/library/valves.lib: No such file or directory "TIP122" not found "LM358N" not found I tried change in kicad/kicad.h to only correct one #define KICAD_DATAS_PATH(append)\ "/usr/local/share/kicad"append But no luck, after recompile and reinstall it gives this contrib.lib: No such file or directory valves.lib: No such file or directory "TIP122" not found "LM358N" not found ls /usr/local/share/kicad/ demos library modules scripting template ls /usr/local/share/kicad/library/ ac-dc.dcmatmel.dcm conn.lib digital-audio.lib ftdi.lib ir.dcm microcontrollers.dcm microchip_pic16mcu.lib nordicsemi.dcm power.dcm relays.dcmstm8.dcm transistors.lib Zilog.dcm ac-dc.libatmel.lib contrib.dcm diode.dcm gennum.dcm ir.lib microcontrollers.lib microchip_pic18mcu.dcm nordicsemi.lib powerint.dcm relays.libstm8.lib ttl_ieee.dcm Zilog.lib actel.dcmaudio.dcm contrib.lib diode.lib gennum.lib Lattice.dcm microchip.dcm microchip_pic18mcu.lib nxp_armmcu.dcm powerint.lib rfcom.dcm supertex.dcm ttl_ieee.lib 74xgxx.dcm actel.libaudio.lib contrib_symbols_dl1eic display.dcm graphic.dcmLattice.lib microchip_dspic33dsc.dcm microchip_pic32mcu.dcm nxp_armmcu.lib power.lib rfcom.lib supertex.lib valves.dcm 74xgxx.lib adc-dac.dcm brooktre.dcm cypress.dcm display.lib graphic.liblinear.dcm microchip_dspic33dsc.lib microchip_pic32mcu.lib onsemi.dcm Power_Management.lib sensors.dcm switches.dcm valves.lib 74xx.dcm adc-dac.lib brooktre.lib cypress.lib dsp.dcm hc11.dcm linear.lib microchip.lib motor_drivers.dcm onsemi.lib pspice.dcm sensors.lib switches.lib video.dcm74xx.lib Altera.lib cmos_ieee.dcm dc-dc.dcm dsp.lib hc11.lib logo.lib microchip_pic10mcu.dcm motor_drivers.lib opto.dcm pspice.lib silabs.dcmtexas.dcmvideo.lib analog_devices.dcm cmos_ieee.lib dc-dc.lib elec-unifil.dcm intel.dcm maxim.dcmmicrochip_pic10mcu.lib motorola.dcmopto.lib references.dcm silabs.libtexas.libXicor.dcm analog_devices.lib cmos4000.dcm device.dcm elec-unifil.lib intel.lib maxim.libmicrochip_pic12mcu.dcm motorola.libOscillators.lib references.lib siliconi.lib transf.dcm Xicor.lib analog_switches.dcm cmos4000.lib device.lib ESD_Protection.lib interface.dcm memory.dcm microchip_pic12mcu.lib msp430.dcm philips.dcm regul.dcm stm32.dcm transf.lib xilinx.dcm analog_switches.lib conn.dcm digital-audio.dcm ftdi.dcm interface.lib memory.lib microchip_pic16mcu.dcm msp430.lib philips.lib regul.lib stm32.lib transistors.dcm xilinx.lib On 10 September 2016 at 11:23, Werner Almesbergerwrote: > Eldar Khayrullin wrote: >> I don't think that it is advisable now. > > Hmm, do you mean trying to use Eeschema/-like fonts ? > >> See Roadmap why it is as >> (http://ci.kicad-pcb.org/job/kicad-doxygen/ws/Documentation/doxygen/html/v5_road_map.html). > > There's a lot on this page :-) Are you thinking of > Project > Common Library > Unified Rendering Framework > "Port wxDC to GAL or get Cairo rendering" ? > > I've asked about that on #kicad, and I get the impressions that the > plans for Eeschema are still fairly vague in this regard. > > In any case, I'm not in a hurry to jump into this. As long as text > rendering works acceptably, that's good enough for me at the present > stage. My current focus is mainly on file access (sounds boring but > gets rather entertaining when you add repos and their history to the > mix) and on making diffs better. > > - Werner > > ___ > 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 -- Roman Pavelka http://kmlinux.fjfi.cvut.cz/~pavelro1 ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help :
[Kicad-developers] "Multichannel signed distance field" font rendering
Hello there, I've been working on trying to solve the blurred font issue in the OpenGL canvas. The current state of the work can be found in my branch "sdf" ( https://code.launchpad.net/~decimad/kicad/+git/kicad/+ref/sdf ). It uses a technique called "multichannel signed distance field" to recreate clear edges and corners in high zoom situations. The code is not polished for commiting yet! A motivational comparison screenshot before/after: https://s10.postimg.io/k00tnaax5/comparison.png It would be great if brave members could test the branch to see if it runs well on different hardware levels and if you are happy with the visuals. To create the font texture atlas I wrote a command-line tool that is only set up to build on windows currently (nothing platform dependent included, but it's currently a visual studio project). I don't know if there's a space to upload helper tools and if platform dependency would be accepted there. I could probably upload it to a github project though. Cheers! Michael ___ 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
Re: [Kicad-developers] [PATCH] Update version string formatting after git migration
Den 09/09/2016 20.09 skrev "Wayne Stambaugh": > > Have we come to any consensus on this yet? I'm not sure the fake bzr > revision numbers have any meaning. Git doesn't have any concept of > linear commits so having a linear number will only make sense when > building from the master repo. These numbers will not track upstream > for anything built from a local repo that has deviated from the main > repo. This was also the case for BZR :) > I'm leaning towards not using them. The hash is always accurate. > If the is a commit hash that's not in the main repo, then it's obvious > that the build is someone's custom commits. I'm OK with this patch as > is. If there are no majo objects, @Chris go ahead and commit it. > > On 8/27/2016 2:49 PM, Mark Roszko wrote: > > rev 1234 the same meaning as rev 67230ac, you have to look it up > > regardless on git. > > > > On Sat, Aug 27, 2016 at 11:48 AM, jp charras wrote: > >> Le 27/08/2016 à 17:14, Chris Pavlina a écrit : > >>> Now that we've migrated from bzr, there isn't much reason to keep > >>> attaching a (now fake) bzr revision number to the version string. > >>> Additionally, we can choose a sensible default branch name if one isn't > >>> specified on the cmake line, rather than "product". This patch reformats > >>> the version strings to: > >>> > >>> (2016-08-26 revision 67230ac)-master > >>> | || > >>> | |custom branch name if set. Otherwise, > >>> | |branch name, "HEAD" if not on a branch, > >>> | | or "unknown" if no .git present > >>> | | > >>> | abbreviated commit hash, or no-git if no .git > >>> | present > >>> | > >>> date of commit, or date of build if no .git present > >> > >> I find the bzr revision number useful to easily know the order of revisions. > >> the name bzr is now a bit strange, so the version string could be: > >> > >> (2016-08-26 rev 1234 git 67230ac)-master > >> > >> (users, many times, just give a rev number, no the full version string, so in a bug or mail, rev > >> 1234 has meaning, but revision 67230ac has no meaning, at least for me). > >> > >> -- > >> Jean-Pierre CHARRAS > >> > >> ___ > >> 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 > > > > > > > > > ___ > 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 ___ 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
Re: [Kicad-developers] [PATCH] Print layer names in pcbnew
What it says on the tin. It adds a %L format string to labels in the worksheet (title block) that will contain the layer name when printed. I like this, but I agree with Wayne - having to edit so many files because of how the layer name is being passed in is just not good. Having that many function parameters in general can get irritating and confusing. On Sat, Sep 10, 2016 at 02:02:01PM +0200, Nick Østergaard wrote: > I have not tried this patch, but could you be a bit more descriptive of > what this patch do for the user and why? > > Den 08/09/2016 17.09 skrev "Ian Roth": > > > This patch allows for printing layer names in pcbnew using a %L formater. > > This is helpful when printing 1 layer per page. > > > > Ian > > > > ___ > > 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 > > > > ___ 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
Re: [Kicad-developers] [PATCH] Print layer names in pcbnew
I have not tried this patch, but could you be a bit more descriptive of what this patch do for the user and why? Den 08/09/2016 17.09 skrev "Ian Roth": > This patch allows for printing layer names in pcbnew using a %L formater. > This is helpful when printing 1 layer per page. > > Ian > > ___ > 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 > > ___ 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
Re: [Kicad-developers] announcing eeshow (schematics renderer and viewer)
Ok ) В Суббота, 10 сен. 2016 в 12:23 , Werner Almesbergerнаписал: Eldar Khayrullin wrote: I don't think that it is advisable now. Hmm, do you mean trying to use Eeschema/-like fonts ? See Roadmap why it is as (http://ci.kicad-pcb.org/job/kicad-doxygen/ws/Documentation/doxygen/html/v5_road_map.html). There's a lot on this page :-) Are you thinking of Project > Common Library > Unified Rendering Framework "Port wxDC to GAL or get Cairo rendering" ? I've asked about that on #kicad, and I get the impressions that the plans for Eeschema are still fairly vague in this regard. In any case, I'm not in a hurry to jump into this. As long as text rendering works acceptably, that's good enough for me at the present stage. My current focus is mainly on file access (sounds boring but gets rather entertaining when you add repos and their history to the mix) and on making diffs better. - Werner ___ 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