Re: [Kicad-developers] Bitmap fonts (+ dotted grid)

2016-05-04 Thread Maciej Sumiński
Apparently wxLogInfo() has changed its behavior and instead of writing
to console, now it shows a window. I have just removed the related code,
because if the required version is not supported, the user will get an
appropriate error message anyway (revision 6771).

Regards,
Orson

On 05/03/2016 09:10 PM, Bernhard Stegmaier wrote:
> You are right. 
> I didn’t expect the dots to be different, but every 10th dot is the bigger 
> one.
> 
> BTW:
> I do seem to get a popup “OpenGL 2.1 supported” on every start recently.
> Is that on intention and what should it tell me (apart from the fact that 
> OpenGL 2.1 is supported… :) )?
> It is quite annoying… could this information maybe be moved to the About 
> dialog?
> 
> 
> Regards,
> Bernhard
> 
>> On 03 May 2016, at 19:14, Simon Wells  wrote:
>>
>> bernhard, are the ones that are the easily visible ones the darker
>> grid lines (ever 5 or so) that are more intense in the line mode
>>
>> On Wed, May 4, 2016 at 4:27 AM, Bernhard Stegmaier
>>  wrote:
>>> Maybe some anti-aliasing issue?
>>> For me, dots are also quite small and some of them are barely visible, while
>>> others look quite normal.
>>>
>>> When I played around with the grid dots on OS X in legacy canvas I also had
>>> a hard time to find a configuration where dots are visible both on (HiDPI)
>>> retina and normal displays (on OS X also legacy canvas is anti-aliased).
>>>
>>> On 03 May 2016, at 18:20, jp charras  wrote:
>>>
>>> Le 03/05/2016 à 18:06, Bernhard Stegmaier a écrit :
>>>
>>> In the Dimensions => Grid menu you can switch between dots/lines (also took
>>> me some while, I would have expected it in some preferences dialog).
>>> I don’t think that it is a (common) wxWidgets 3.1 issue.
>>> My OS X build uses a wxWidgets master maybe two weeks old and grid is fine
>>> both with dots and lines.
>>>
>>>
>>> Thanks, Bernhard.
>>>
>>> @Orson,
>>> On wxWidgets 3.1, the dotted grid is not visible on Opengl. The line grid is
>>> visible.
>>> On Cairo, both are displayed.
>>>
>>>
>>>
>>> Regards,
>>> Bernhard
>>>
>>> On 03 May 2016, at 17:46, jp charras  wrote:
>>>
>>> Le 03/05/2016 à 15:56, Maciej Sumiński a écrit :
>>>
>>> On 05/02/2016 06:33 PM, jp charras wrote:
>>>
>>> Le 02/05/2016 à 17:16, Maciej Sumiński a écrit :
>>>
>>> As noone had opposed the changes, I have just merged the bitmap fonts
>>> branch.
>>>
>>> As a small bonus, we have also added an option to switch to dotted grid
>>> in GAL (thanks to Tom for refactoring the grid drawing routine).
>>>
>>> Regards,
>>> Orson
>>>
>>>
>>> A lot of work! Thanks to Tomasz and you.
>>>
>>> After a fast and short test, the change looks good.
>>>
>>> However, I noticed 2 issues (W7 32 bits on msys2):
>>> - The grid is not visible on OpenGL, but is visible on Cairo.

>>> - I can switch between legacy and Cairo, as long I not switched to OpenGL,
>>> but if I switch to Cairo
>>> from OpenGL, or from legacy after having previously switched to Opengl,
>>> Pcbnew crashes.
>>>
>>>
>>> Hi Jean-Pierre,
>>>
>>> Is grid invisible in both modes (lines & dots)?
>>>
>>>
>>> How to change the mode ?
>>>
>>> Nevertheless, the dot grid is not displayed when using wxWidgets 3.1, and it
>>> is displayed when using
>>> wxWidgets 3.0.2.
>>> I never see issues previously with lines.
>>>
>>>
>>> Would you send me a backtrace? I cannot make it crash on W7_64/msys2.
>>>
>>>
>>> Unfortunately, the bt is small:
>>> When switching from OpenGL to cairo:
>>> #0  0x77293c4d in ntdll!DbgBreakPoint () from C:\Windows\SYSTEM32\ntdll.dll
>>> #1  0x772febef in ntdll!DbgUiRemoteBreakin ()
>>> from C:\Windows\SYSTEM32\ntdll.dll
>>> #2  0x29813028 in ?? ()
>>> #3  0x75b0ef1c in KERNEL32!BaseThreadInitThunk ()
>>> from C:\Windows\system32\kernel32.dll
>>> #4  0x772c3648 in ntdll!RtlInitializeExceptionChain ()
>>> from C:\Windows\SYSTEM32\ntdll.dll
>>> #5  0x772c361b in ntdll!RtlInitializeExceptionChain ()
>>> from C:\Windows\SYSTEM32\ntdll.dll
>>> #6  0x in ?? ()
>>>
>>> And when existing in legacy mode (after using Opengl mode):
>>> #0  0x5628ae51 in ?? () from C:\Windows\system32\ig4icd32.dll
>>> Backtrace stopped: Cannot access memory at address 0x3
>>>
>>>
>>> More strange, when starting pcbnew (Debug build) in legacy mode and
>>> switching to Cairo more:
>>> - crash if running under gdb (giving the same backtrace as when switching
>>> from OpenGL to cairo,
>>> therefore this bt is perhaps due only to switching to cairo on gdb).
>>> - does no crash when running without gdb.
>>>
>>>
>>> Regards,
>>> Orson
>>>
>>>
>>>
>>>
>>>
>>> --
>>> 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
>>> 

Re: [Kicad-developers] Bitmap fonts (+ dotted grid)

2016-05-03 Thread Chris Pavlina
I like that the distinction between bright and dark lines was kept into the
dots. The extra coarser grid on top of the fine grid is very useful :)

On Tue, May 03, 2016 at 11:01:35PM +0200, Nick Østergaard wrote:
> 2016-05-03 21:10 GMT+02:00 Bernhard Stegmaier :
> > You are right.
> > I didn’t expect the dots to be different, but every 10th dot is the bigger 
> > one.
> 
> Exactly as is the case with the lines...
> 
> >
> > BTW:
> > I do seem to get a popup “OpenGL 2.1 supported” on every start recently.
> > Is that on intention and what should it tell me (apart from the fact that 
> > OpenGL 2.1 is supported… :) )?
> > It is quite annoying… could this information maybe be moved to the About 
> > dialog?
> >
> >
> > Regards,
> > Bernhard
> >
> >> On 03 May 2016, at 19:14, Simon Wells  wrote:
> >>
> >> bernhard, are the ones that are the easily visible ones the darker
> >> grid lines (ever 5 or so) that are more intense in the line mode
> >>
> >> On Wed, May 4, 2016 at 4:27 AM, Bernhard Stegmaier
> >>  wrote:
> >>> Maybe some anti-aliasing issue?
> >>> For me, dots are also quite small and some of them are barely visible, 
> >>> while
> >>> others look quite normal.
> >>>
> >>> When I played around with the grid dots on OS X in legacy canvas I also 
> >>> had
> >>> a hard time to find a configuration where dots are visible both on (HiDPI)
> >>> retina and normal displays (on OS X also legacy canvas is anti-aliased).
> >>>
> >>> On 03 May 2016, at 18:20, jp charras  wrote:
> >>>
> >>> Le 03/05/2016 à 18:06, Bernhard Stegmaier a écrit :
> >>>
> >>> In the Dimensions => Grid menu you can switch between dots/lines (also 
> >>> took
> >>> me some while, I would have expected it in some preferences dialog).
> >>> I don’t think that it is a (common) wxWidgets 3.1 issue.
> >>> My OS X build uses a wxWidgets master maybe two weeks old and grid is fine
> >>> both with dots and lines.
> >>>
> >>>
> >>> Thanks, Bernhard.
> >>>
> >>> @Orson,
> >>> On wxWidgets 3.1, the dotted grid is not visible on Opengl. The line grid 
> >>> is
> >>> visible.
> >>> On Cairo, both are displayed.
> >>>
> >>>
> >>>
> >>> Regards,
> >>> Bernhard
> >>>
> >>> On 03 May 2016, at 17:46, jp charras  wrote:
> >>>
> >>> Le 03/05/2016 à 15:56, Maciej Sumiński a écrit :
> >>>
> >>> On 05/02/2016 06:33 PM, jp charras wrote:
> >>>
> >>> Le 02/05/2016 à 17:16, Maciej Sumiński a écrit :
> >>>
> >>> As noone had opposed the changes, I have just merged the bitmap fonts
> >>> branch.
> >>>
> >>> As a small bonus, we have also added an option to switch to dotted grid
> >>> in GAL (thanks to Tom for refactoring the grid drawing routine).
> >>>
> >>> Regards,
> >>> Orson
> >>>
> >>>
> >>> A lot of work! Thanks to Tomasz and you.
> >>>
> >>> After a fast and short test, the change looks good.
> >>>
> >>> However, I noticed 2 issues (W7 32 bits on msys2):
> >>> - The grid is not visible on OpenGL, but is visible on Cairo.
> >>> - I can switch between legacy and Cairo, as long I not switched to OpenGL,
> >>> but if I switch to Cairo
> >>> from OpenGL, or from legacy after having previously switched to Opengl,
> >>> Pcbnew crashes.
> >>>
> >>>
> >>> Hi Jean-Pierre,
> >>>
> >>> Is grid invisible in both modes (lines & dots)?
> >>>
> >>>
> >>> How to change the mode ?
> >>>
> >>> Nevertheless, the dot grid is not displayed when using wxWidgets 3.1, and 
> >>> it
> >>> is displayed when using
> >>> wxWidgets 3.0.2.
> >>> I never see issues previously with lines.
> >>>
> >>>
> >>> Would you send me a backtrace? I cannot make it crash on W7_64/msys2.
> >>>
> >>>
> >>> Unfortunately, the bt is small:
> >>> When switching from OpenGL to cairo:
> >>> #0  0x77293c4d in ntdll!DbgBreakPoint () from 
> >>> C:\Windows\SYSTEM32\ntdll.dll
> >>> #1  0x772febef in ntdll!DbgUiRemoteBreakin ()
> >>> from C:\Windows\SYSTEM32\ntdll.dll
> >>> #2  0x29813028 in ?? ()
> >>> #3  0x75b0ef1c in KERNEL32!BaseThreadInitThunk ()
> >>> from C:\Windows\system32\kernel32.dll
> >>> #4  0x772c3648 in ntdll!RtlInitializeExceptionChain ()
> >>> from C:\Windows\SYSTEM32\ntdll.dll
> >>> #5  0x772c361b in ntdll!RtlInitializeExceptionChain ()
> >>> from C:\Windows\SYSTEM32\ntdll.dll
> >>> #6  0x in ?? ()
> >>>
> >>> And when existing in legacy mode (after using Opengl mode):
> >>> #0  0x5628ae51 in ?? () from C:\Windows\system32\ig4icd32.dll
> >>> Backtrace stopped: Cannot access memory at address 0x3
> >>>
> >>>
> >>> More strange, when starting pcbnew (Debug build) in legacy mode and
> >>> switching to Cairo more:
> >>> - crash if running under gdb (giving the same backtrace as when switching
> >>> from OpenGL to cairo,
> >>> therefore this bt is perhaps due only to switching to cairo on gdb).
> >>> - does no crash when running without gdb.
> >>>
> >>>
> >>> Regards,
> >>> Orson
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> Jean-Pierre CHARRAS
> >>>
> >>> ___
> >>> Mailing list: https://launchpad.net/~kicad-developers
> >>> 

Re: [Kicad-developers] Bitmap fonts (+ dotted grid)

2016-05-03 Thread Nick Østergaard
2016-05-03 21:10 GMT+02:00 Bernhard Stegmaier :
> You are right.
> I didn’t expect the dots to be different, but every 10th dot is the bigger 
> one.

Exactly as is the case with the lines...

>
> BTW:
> I do seem to get a popup “OpenGL 2.1 supported” on every start recently.
> Is that on intention and what should it tell me (apart from the fact that 
> OpenGL 2.1 is supported… :) )?
> It is quite annoying… could this information maybe be moved to the About 
> dialog?
>
>
> Regards,
> Bernhard
>
>> On 03 May 2016, at 19:14, Simon Wells  wrote:
>>
>> bernhard, are the ones that are the easily visible ones the darker
>> grid lines (ever 5 or so) that are more intense in the line mode
>>
>> On Wed, May 4, 2016 at 4:27 AM, Bernhard Stegmaier
>>  wrote:
>>> Maybe some anti-aliasing issue?
>>> For me, dots are also quite small and some of them are barely visible, while
>>> others look quite normal.
>>>
>>> When I played around with the grid dots on OS X in legacy canvas I also had
>>> a hard time to find a configuration where dots are visible both on (HiDPI)
>>> retina and normal displays (on OS X also legacy canvas is anti-aliased).
>>>
>>> On 03 May 2016, at 18:20, jp charras  wrote:
>>>
>>> Le 03/05/2016 à 18:06, Bernhard Stegmaier a écrit :
>>>
>>> In the Dimensions => Grid menu you can switch between dots/lines (also took
>>> me some while, I would have expected it in some preferences dialog).
>>> I don’t think that it is a (common) wxWidgets 3.1 issue.
>>> My OS X build uses a wxWidgets master maybe two weeks old and grid is fine
>>> both with dots and lines.
>>>
>>>
>>> Thanks, Bernhard.
>>>
>>> @Orson,
>>> On wxWidgets 3.1, the dotted grid is not visible on Opengl. The line grid is
>>> visible.
>>> On Cairo, both are displayed.
>>>
>>>
>>>
>>> Regards,
>>> Bernhard
>>>
>>> On 03 May 2016, at 17:46, jp charras  wrote:
>>>
>>> Le 03/05/2016 à 15:56, Maciej Sumiński a écrit :
>>>
>>> On 05/02/2016 06:33 PM, jp charras wrote:
>>>
>>> Le 02/05/2016 à 17:16, Maciej Sumiński a écrit :
>>>
>>> As noone had opposed the changes, I have just merged the bitmap fonts
>>> branch.
>>>
>>> As a small bonus, we have also added an option to switch to dotted grid
>>> in GAL (thanks to Tom for refactoring the grid drawing routine).
>>>
>>> Regards,
>>> Orson
>>>
>>>
>>> A lot of work! Thanks to Tomasz and you.
>>>
>>> After a fast and short test, the change looks good.
>>>
>>> However, I noticed 2 issues (W7 32 bits on msys2):
>>> - The grid is not visible on OpenGL, but is visible on Cairo.
>>> - I can switch between legacy and Cairo, as long I not switched to OpenGL,
>>> but if I switch to Cairo
>>> from OpenGL, or from legacy after having previously switched to Opengl,
>>> Pcbnew crashes.
>>>
>>>
>>> Hi Jean-Pierre,
>>>
>>> Is grid invisible in both modes (lines & dots)?
>>>
>>>
>>> How to change the mode ?
>>>
>>> Nevertheless, the dot grid is not displayed when using wxWidgets 3.1, and it
>>> is displayed when using
>>> wxWidgets 3.0.2.
>>> I never see issues previously with lines.
>>>
>>>
>>> Would you send me a backtrace? I cannot make it crash on W7_64/msys2.
>>>
>>>
>>> Unfortunately, the bt is small:
>>> When switching from OpenGL to cairo:
>>> #0  0x77293c4d in ntdll!DbgBreakPoint () from C:\Windows\SYSTEM32\ntdll.dll
>>> #1  0x772febef in ntdll!DbgUiRemoteBreakin ()
>>> from C:\Windows\SYSTEM32\ntdll.dll
>>> #2  0x29813028 in ?? ()
>>> #3  0x75b0ef1c in KERNEL32!BaseThreadInitThunk ()
>>> from C:\Windows\system32\kernel32.dll
>>> #4  0x772c3648 in ntdll!RtlInitializeExceptionChain ()
>>> from C:\Windows\SYSTEM32\ntdll.dll
>>> #5  0x772c361b in ntdll!RtlInitializeExceptionChain ()
>>> from C:\Windows\SYSTEM32\ntdll.dll
>>> #6  0x in ?? ()
>>>
>>> And when existing in legacy mode (after using Opengl mode):
>>> #0  0x5628ae51 in ?? () from C:\Windows\system32\ig4icd32.dll
>>> Backtrace stopped: Cannot access memory at address 0x3
>>>
>>>
>>> More strange, when starting pcbnew (Debug build) in legacy mode and
>>> switching to Cairo more:
>>> - crash if running under gdb (giving the same backtrace as when switching
>>> from OpenGL to cairo,
>>> therefore this bt is perhaps due only to switching to cairo on gdb).
>>> - does no crash when running without gdb.
>>>
>>>
>>> Regards,
>>> Orson
>>>
>>>
>>>
>>>
>>>
>>> --
>>> 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
>>> 
>>>
>>>
>>>
>>>
>>> --
>>> Jean-Pierre CHARRAS
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to : kicad-developers@lists.launchpad.net
>>>

Re: [Kicad-developers] Bitmap fonts (+ dotted grid)

2016-05-03 Thread Bernhard Stegmaier
Yes, looks perfect now.
Thanks!

> On 03 May 2016, at 15:20, Maciej Sumiński  wrote:
> 
> Hi Bernhard,
> 
> Good catch, it should be fixed now (revision 6766).
> 
> Regards,
> Orson
> 
> On 05/02/2016 07:24 PM, Bernhard Stegmaier wrote:
>> I already wanted to try over the weekend on OS X before the merge… anyway, 
>> just 
>> tried and it looks fine for me, good work!
>> Oh yes, I love the dotted grid… :)
>> 
>> Just some small cosmetic comments/questions:
>> How is the font size and position of the net name determined?
>> 
>> If you look at the below screenshot:
>> * RTC_INT/RTC_1W is not (vertically) centered on the track as e.g., RXD/TXD, 
>> GND, or Net-(C14-Pad1)
>> * Font of RTC_INT is pretty small in comparison to GND or RXD/TXD… track 
>> width 
>> of RXD/TXD is the same as RTC_*. Similar for GND/+3.3V.
>> 
>> 
>> Regards,
>> Bernhard
>> 
>> 
>> 
>> 
>> 
>>> On 02.05.2016, at 18:33, jp charras >> >> wrote:
>>> 
>>> Le 02/05/2016 à 17:16, Maciej Sumiński a écrit :
 As noone had opposed the changes, I have just merged the bitmap fonts
 branch.
 
 As a small bonus, we have also added an option to switch to dotted grid
 in GAL (thanks to Tom for refactoring the grid drawing routine).
 
 Regards,
 Orson
>>> 
>>> A lot of work! Thanks to Tomasz and you.
>>> 
>>> After a fast and short test, the change looks good.
>>> 
>>> However, I noticed 2 issues (W7 32 bits on msys2):
>>> - The grid is not visible on OpenGL, but is visible on Cairo.
>>> - I can switch between legacy and Cairo, as long I not switched to OpenGL, 
>>> but 
>>> if I switch to Cairo
>>> from OpenGL, or from legacy after having previously switched to Opengl, 
>>> Pcbnew 
>>> crashes.
>>> 
>>> 
>>> -- 
>>> 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


Re: [Kicad-developers] Bitmap fonts (+ dotted grid)

2016-05-03 Thread Bernhard Stegmaier
You are right. 
I didn’t expect the dots to be different, but every 10th dot is the bigger one.

BTW:
I do seem to get a popup “OpenGL 2.1 supported” on every start recently.
Is that on intention and what should it tell me (apart from the fact that 
OpenGL 2.1 is supported… :) )?
It is quite annoying… could this information maybe be moved to the About dialog?


Regards,
Bernhard

> On 03 May 2016, at 19:14, Simon Wells  wrote:
> 
> bernhard, are the ones that are the easily visible ones the darker
> grid lines (ever 5 or so) that are more intense in the line mode
> 
> On Wed, May 4, 2016 at 4:27 AM, Bernhard Stegmaier
>  wrote:
>> Maybe some anti-aliasing issue?
>> For me, dots are also quite small and some of them are barely visible, while
>> others look quite normal.
>> 
>> When I played around with the grid dots on OS X in legacy canvas I also had
>> a hard time to find a configuration where dots are visible both on (HiDPI)
>> retina and normal displays (on OS X also legacy canvas is anti-aliased).
>> 
>> On 03 May 2016, at 18:20, jp charras  wrote:
>> 
>> Le 03/05/2016 à 18:06, Bernhard Stegmaier a écrit :
>> 
>> In the Dimensions => Grid menu you can switch between dots/lines (also took
>> me some while, I would have expected it in some preferences dialog).
>> I don’t think that it is a (common) wxWidgets 3.1 issue.
>> My OS X build uses a wxWidgets master maybe two weeks old and grid is fine
>> both with dots and lines.
>> 
>> 
>> Thanks, Bernhard.
>> 
>> @Orson,
>> On wxWidgets 3.1, the dotted grid is not visible on Opengl. The line grid is
>> visible.
>> On Cairo, both are displayed.
>> 
>> 
>> 
>> Regards,
>> Bernhard
>> 
>> On 03 May 2016, at 17:46, jp charras  wrote:
>> 
>> Le 03/05/2016 à 15:56, Maciej Sumiński a écrit :
>> 
>> On 05/02/2016 06:33 PM, jp charras wrote:
>> 
>> Le 02/05/2016 à 17:16, Maciej Sumiński a écrit :
>> 
>> As noone had opposed the changes, I have just merged the bitmap fonts
>> branch.
>> 
>> As a small bonus, we have also added an option to switch to dotted grid
>> in GAL (thanks to Tom for refactoring the grid drawing routine).
>> 
>> Regards,
>> Orson
>> 
>> 
>> A lot of work! Thanks to Tomasz and you.
>> 
>> After a fast and short test, the change looks good.
>> 
>> However, I noticed 2 issues (W7 32 bits on msys2):
>> - The grid is not visible on OpenGL, but is visible on Cairo.
>> - I can switch between legacy and Cairo, as long I not switched to OpenGL,
>> but if I switch to Cairo
>> from OpenGL, or from legacy after having previously switched to Opengl,
>> Pcbnew crashes.
>> 
>> 
>> Hi Jean-Pierre,
>> 
>> Is grid invisible in both modes (lines & dots)?
>> 
>> 
>> How to change the mode ?
>> 
>> Nevertheless, the dot grid is not displayed when using wxWidgets 3.1, and it
>> is displayed when using
>> wxWidgets 3.0.2.
>> I never see issues previously with lines.
>> 
>> 
>> Would you send me a backtrace? I cannot make it crash on W7_64/msys2.
>> 
>> 
>> Unfortunately, the bt is small:
>> When switching from OpenGL to cairo:
>> #0  0x77293c4d in ntdll!DbgBreakPoint () from C:\Windows\SYSTEM32\ntdll.dll
>> #1  0x772febef in ntdll!DbgUiRemoteBreakin ()
>> from C:\Windows\SYSTEM32\ntdll.dll
>> #2  0x29813028 in ?? ()
>> #3  0x75b0ef1c in KERNEL32!BaseThreadInitThunk ()
>> from C:\Windows\system32\kernel32.dll
>> #4  0x772c3648 in ntdll!RtlInitializeExceptionChain ()
>> from C:\Windows\SYSTEM32\ntdll.dll
>> #5  0x772c361b in ntdll!RtlInitializeExceptionChain ()
>> from C:\Windows\SYSTEM32\ntdll.dll
>> #6  0x in ?? ()
>> 
>> And when existing in legacy mode (after using Opengl mode):
>> #0  0x5628ae51 in ?? () from C:\Windows\system32\ig4icd32.dll
>> Backtrace stopped: Cannot access memory at address 0x3
>> 
>> 
>> More strange, when starting pcbnew (Debug build) in legacy mode and
>> switching to Cairo more:
>> - crash if running under gdb (giving the same backtrace as when switching
>> from OpenGL to cairo,
>> therefore this bt is perhaps due only to switching to cairo on gdb).
>> - does no crash when running without gdb.
>> 
>> 
>> Regards,
>> Orson
>> 
>> 
>> 
>> 
>> 
>> --
>> 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
>> 
>> 
>> 
>> 
>> 
>> --
>> 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/

Re: [Kicad-developers] Bitmap fonts (+ dotted grid)

2016-05-03 Thread Simon Wells
bernhard, are the ones that are the easily visible ones the darker
grid lines (ever 5 or so) that are more intense in the line mode

On Wed, May 4, 2016 at 4:27 AM, Bernhard Stegmaier
 wrote:
> Maybe some anti-aliasing issue?
> For me, dots are also quite small and some of them are barely visible, while
> others look quite normal.
>
> When I played around with the grid dots on OS X in legacy canvas I also had
> a hard time to find a configuration where dots are visible both on (HiDPI)
> retina and normal displays (on OS X also legacy canvas is anti-aliased).
>
> On 03 May 2016, at 18:20, jp charras  wrote:
>
> Le 03/05/2016 à 18:06, Bernhard Stegmaier a écrit :
>
> In the Dimensions => Grid menu you can switch between dots/lines (also took
> me some while, I would have expected it in some preferences dialog).
> I don’t think that it is a (common) wxWidgets 3.1 issue.
> My OS X build uses a wxWidgets master maybe two weeks old and grid is fine
> both with dots and lines.
>
>
> Thanks, Bernhard.
>
> @Orson,
> On wxWidgets 3.1, the dotted grid is not visible on Opengl. The line grid is
> visible.
> On Cairo, both are displayed.
>
>
>
> Regards,
> Bernhard
>
> On 03 May 2016, at 17:46, jp charras  wrote:
>
> Le 03/05/2016 à 15:56, Maciej Sumiński a écrit :
>
> On 05/02/2016 06:33 PM, jp charras wrote:
>
> Le 02/05/2016 à 17:16, Maciej Sumiński a écrit :
>
> As noone had opposed the changes, I have just merged the bitmap fonts
> branch.
>
> As a small bonus, we have also added an option to switch to dotted grid
> in GAL (thanks to Tom for refactoring the grid drawing routine).
>
> Regards,
> Orson
>
>
> A lot of work! Thanks to Tomasz and you.
>
> After a fast and short test, the change looks good.
>
> However, I noticed 2 issues (W7 32 bits on msys2):
> - The grid is not visible on OpenGL, but is visible on Cairo.
> - I can switch between legacy and Cairo, as long I not switched to OpenGL,
> but if I switch to Cairo
> from OpenGL, or from legacy after having previously switched to Opengl,
> Pcbnew crashes.
>
>
> Hi Jean-Pierre,
>
> Is grid invisible in both modes (lines & dots)?
>
>
> How to change the mode ?
>
> Nevertheless, the dot grid is not displayed when using wxWidgets 3.1, and it
> is displayed when using
> wxWidgets 3.0.2.
> I never see issues previously with lines.
>
>
> Would you send me a backtrace? I cannot make it crash on W7_64/msys2.
>
>
> Unfortunately, the bt is small:
> When switching from OpenGL to cairo:
> #0  0x77293c4d in ntdll!DbgBreakPoint () from C:\Windows\SYSTEM32\ntdll.dll
> #1  0x772febef in ntdll!DbgUiRemoteBreakin ()
>  from C:\Windows\SYSTEM32\ntdll.dll
> #2  0x29813028 in ?? ()
> #3  0x75b0ef1c in KERNEL32!BaseThreadInitThunk ()
>  from C:\Windows\system32\kernel32.dll
> #4  0x772c3648 in ntdll!RtlInitializeExceptionChain ()
>  from C:\Windows\SYSTEM32\ntdll.dll
> #5  0x772c361b in ntdll!RtlInitializeExceptionChain ()
>  from C:\Windows\SYSTEM32\ntdll.dll
> #6  0x in ?? ()
>
> And when existing in legacy mode (after using Opengl mode):
> #0  0x5628ae51 in ?? () from C:\Windows\system32\ig4icd32.dll
> Backtrace stopped: Cannot access memory at address 0x3
>
>
> More strange, when starting pcbnew (Debug build) in legacy mode and
> switching to Cairo more:
> - crash if running under gdb (giving the same backtrace as when switching
> from OpenGL to cairo,
> therefore this bt is perhaps due only to switching to cairo on gdb).
> - does no crash when running without gdb.
>
>
> Regards,
> Orson
>
>
>
>
>
> --
> 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
> 
>
>
>
>
> --
> 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] Bitmap fonts (+ dotted grid)

2016-05-03 Thread Bernhard Stegmaier
Maybe some anti-aliasing issue?
For me, dots are also quite small and some of them are barely visible, while 
others look quite normal.

When I played around with the grid dots on OS X in legacy canvas I also had a 
hard time to find a configuration where dots are visible both on (HiDPI) retina 
and normal displays (on OS X also legacy canvas is anti-aliased).

> On 03 May 2016, at 18:20, jp charras  wrote:
> 
> Le 03/05/2016 à 18:06, Bernhard Stegmaier a écrit :
>> In the Dimensions => Grid menu you can switch between dots/lines (also took 
>> me some while, I would have expected it in some preferences dialog).
>> I don’t think that it is a (common) wxWidgets 3.1 issue.
>> My OS X build uses a wxWidgets master maybe two weeks old and grid is fine 
>> both with dots and lines.
> 
> Thanks, Bernhard.
> 
> @Orson,
> On wxWidgets 3.1, the dotted grid is not visible on Opengl. The line grid is 
> visible.
> On Cairo, both are displayed.
> 
>> 
>> 
>> Regards,
>> Bernhard
>> 
>>> On 03 May 2016, at 17:46, jp charras  wrote:
>>> 
>>> Le 03/05/2016 à 15:56, Maciej Sumiński a écrit :
 On 05/02/2016 06:33 PM, jp charras wrote:
> Le 02/05/2016 à 17:16, Maciej Sumiński a écrit :
>> As noone had opposed the changes, I have just merged the bitmap fonts
>> branch.
>> 
>> As a small bonus, we have also added an option to switch to dotted grid
>> in GAL (thanks to Tom for refactoring the grid drawing routine).
>> 
>> Regards,
>> Orson
> 
> A lot of work! Thanks to Tomasz and you.
> 
> After a fast and short test, the change looks good.
> 
> However, I noticed 2 issues (W7 32 bits on msys2):
> - The grid is not visible on OpenGL, but is visible on Cairo.
> - I can switch between legacy and Cairo, as long I not switched to 
> OpenGL, but if I switch to Cairo
> from OpenGL, or from legacy after having previously switched to Opengl, 
> Pcbnew crashes.
 
 Hi Jean-Pierre,
 
 Is grid invisible in both modes (lines & dots)?
>>> 
>>> How to change the mode ?
>>> 
>>> Nevertheless, the dot grid is not displayed when using wxWidgets 3.1, and 
>>> it is displayed when using
>>> wxWidgets 3.0.2.
>>> I never see issues previously with lines.
>>> 
>>> 
 Would you send me a backtrace? I cannot make it crash on W7_64/msys2.
>>> 
>>> Unfortunately, the bt is small:
>>> When switching from OpenGL to cairo:
>>> #0  0x77293c4d in ntdll!DbgBreakPoint () from C:\Windows\SYSTEM32\ntdll.dll
>>> #1  0x772febef in ntdll!DbgUiRemoteBreakin ()
>>>  from C:\Windows\SYSTEM32\ntdll.dll
>>> #2  0x29813028 in ?? ()
>>> #3  0x75b0ef1c in KERNEL32!BaseThreadInitThunk ()
>>>  from C:\Windows\system32\kernel32.dll
>>> #4  0x772c3648 in ntdll!RtlInitializeExceptionChain ()
>>>  from C:\Windows\SYSTEM32\ntdll.dll
>>> #5  0x772c361b in ntdll!RtlInitializeExceptionChain ()
>>>  from C:\Windows\SYSTEM32\ntdll.dll
>>> #6  0x in ?? ()
>>> 
>>> And when existing in legacy mode (after using Opengl mode):
>>> #0  0x5628ae51 in ?? () from C:\Windows\system32\ig4icd32.dll
>>> Backtrace stopped: Cannot access memory at address 0x3
>>> 
>>> 
>>> More strange, when starting pcbnew (Debug build) in legacy mode and 
>>> switching to Cairo more:
>>> - crash if running under gdb (giving the same backtrace as when switching 
>>> from OpenGL to cairo,
>>> therefore this bt is perhaps due only to switching to cairo on gdb).
>>> - does no crash when running without gdb.
>>> 
 
 Regards,
 Orson
 
 
 
>>> 
>>> 
>>> -- 
>>> 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 
>>>  >> >
>> 
> 
> 
> -- 
> 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

Re: [Kicad-developers] Bitmap fonts (+ dotted grid)

2016-05-03 Thread jp charras
Le 03/05/2016 à 18:06, Bernhard Stegmaier a écrit :
> In the Dimensions => Grid menu you can switch between dots/lines (also took 
> me some while, I would have expected it in some preferences dialog).
> I don’t think that it is a (common) wxWidgets 3.1 issue.
> My OS X build uses a wxWidgets master maybe two weeks old and grid is fine 
> both with dots and lines.

Thanks, Bernhard.

@Orson,
On wxWidgets 3.1, the dotted grid is not visible on Opengl. The line grid is 
visible.
On Cairo, both are displayed.

> 
> 
> Regards,
> Bernhard
> 
>> On 03 May 2016, at 17:46, jp charras  wrote:
>>
>> Le 03/05/2016 à 15:56, Maciej Sumiński a écrit :
>>> On 05/02/2016 06:33 PM, jp charras wrote:
 Le 02/05/2016 à 17:16, Maciej Sumiński a écrit :
> As noone had opposed the changes, I have just merged the bitmap fonts
> branch.
>
> As a small bonus, we have also added an option to switch to dotted grid
> in GAL (thanks to Tom for refactoring the grid drawing routine).
>
> Regards,
> Orson

 A lot of work! Thanks to Tomasz and you.

 After a fast and short test, the change looks good.

 However, I noticed 2 issues (W7 32 bits on msys2):
 - The grid is not visible on OpenGL, but is visible on Cairo.
 - I can switch between legacy and Cairo, as long I not switched to OpenGL, 
 but if I switch to Cairo
 from OpenGL, or from legacy after having previously switched to Opengl, 
 Pcbnew crashes.
>>>
>>> Hi Jean-Pierre,
>>>
>>> Is grid invisible in both modes (lines & dots)?
>>
>> How to change the mode ?
>>
>> Nevertheless, the dot grid is not displayed when using wxWidgets 3.1, and it 
>> is displayed when using
>> wxWidgets 3.0.2.
>> I never see issues previously with lines.
>>
>>
>>> Would you send me a backtrace? I cannot make it crash on W7_64/msys2.
>>
>> Unfortunately, the bt is small:
>> When switching from OpenGL to cairo:
>> #0  0x77293c4d in ntdll!DbgBreakPoint () from C:\Windows\SYSTEM32\ntdll.dll
>> #1  0x772febef in ntdll!DbgUiRemoteBreakin ()
>>   from C:\Windows\SYSTEM32\ntdll.dll
>> #2  0x29813028 in ?? ()
>> #3  0x75b0ef1c in KERNEL32!BaseThreadInitThunk ()
>>   from C:\Windows\system32\kernel32.dll
>> #4  0x772c3648 in ntdll!RtlInitializeExceptionChain ()
>>   from C:\Windows\SYSTEM32\ntdll.dll
>> #5  0x772c361b in ntdll!RtlInitializeExceptionChain ()
>>   from C:\Windows\SYSTEM32\ntdll.dll
>> #6  0x in ?? ()
>>
>> And when existing in legacy mode (after using Opengl mode):
>> #0  0x5628ae51 in ?? () from C:\Windows\system32\ig4icd32.dll
>> Backtrace stopped: Cannot access memory at address 0x3
>>
>>
>> More strange, when starting pcbnew (Debug build) in legacy mode and 
>> switching to Cairo more:
>> - crash if running under gdb (giving the same backtrace as when switching 
>> from OpenGL to cairo,
>> therefore this bt is perhaps due only to switching to cairo on gdb).
>> - does no crash when running without gdb.
>>
>>>
>>> Regards,
>>> Orson
>>>
>>>
>>>
>>
>>
>> -- 
>> 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 
>> 
> 


-- 
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


Re: [Kicad-developers] Bitmap fonts (+ dotted grid)

2016-05-03 Thread Bernhard Stegmaier
In the Dimensions => Grid menu you can switch between dots/lines (also took me 
some while, I would have expected it in some preferences dialog).
I don’t think that it is a (common) wxWidgets 3.1 issue.
My OS X build uses a wxWidgets master maybe two weeks old and grid is fine both 
with dots and lines.


Regards,
Bernhard

> On 03 May 2016, at 17:46, jp charras  wrote:
> 
> Le 03/05/2016 à 15:56, Maciej Sumiński a écrit :
>> On 05/02/2016 06:33 PM, jp charras wrote:
>>> Le 02/05/2016 à 17:16, Maciej Sumiński a écrit :
 As noone had opposed the changes, I have just merged the bitmap fonts
 branch.
 
 As a small bonus, we have also added an option to switch to dotted grid
 in GAL (thanks to Tom for refactoring the grid drawing routine).
 
 Regards,
 Orson
>>> 
>>> A lot of work! Thanks to Tomasz and you.
>>> 
>>> After a fast and short test, the change looks good.
>>> 
>>> However, I noticed 2 issues (W7 32 bits on msys2):
>>> - The grid is not visible on OpenGL, but is visible on Cairo.
>>> - I can switch between legacy and Cairo, as long I not switched to OpenGL, 
>>> but if I switch to Cairo
>>> from OpenGL, or from legacy after having previously switched to Opengl, 
>>> Pcbnew crashes.
>> 
>> Hi Jean-Pierre,
>> 
>> Is grid invisible in both modes (lines & dots)?
> 
> How to change the mode ?
> 
> Nevertheless, the dot grid is not displayed when using wxWidgets 3.1, and it 
> is displayed when using
> wxWidgets 3.0.2.
> I never see issues previously with lines.
> 
> 
>> Would you send me a backtrace? I cannot make it crash on W7_64/msys2.
> 
> Unfortunately, the bt is small:
> When switching from OpenGL to cairo:
> #0  0x77293c4d in ntdll!DbgBreakPoint () from C:\Windows\SYSTEM32\ntdll.dll
> #1  0x772febef in ntdll!DbgUiRemoteBreakin ()
>   from C:\Windows\SYSTEM32\ntdll.dll
> #2  0x29813028 in ?? ()
> #3  0x75b0ef1c in KERNEL32!BaseThreadInitThunk ()
>   from C:\Windows\system32\kernel32.dll
> #4  0x772c3648 in ntdll!RtlInitializeExceptionChain ()
>   from C:\Windows\SYSTEM32\ntdll.dll
> #5  0x772c361b in ntdll!RtlInitializeExceptionChain ()
>   from C:\Windows\SYSTEM32\ntdll.dll
> #6  0x in ?? ()
> 
> And when existing in legacy mode (after using Opengl mode):
> #0  0x5628ae51 in ?? () from C:\Windows\system32\ig4icd32.dll
> Backtrace stopped: Cannot access memory at address 0x3
> 
> 
> More strange, when starting pcbnew (Debug build) in legacy mode and switching 
> to Cairo more:
> - crash if running under gdb (giving the same backtrace as when switching 
> from OpenGL to cairo,
> therefore this bt is perhaps due only to switching to cairo on gdb).
> - does no crash when running without gdb.
> 
>> 
>> Regards,
>> Orson
>> 
>> 
>> 
> 
> 
> -- 
> 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


Re: [Kicad-developers] Bitmap fonts (+ dotted grid)

2016-05-03 Thread jp charras
Le 03/05/2016 à 15:56, Maciej Sumiński a écrit :
> On 05/02/2016 06:33 PM, jp charras wrote:
>> Le 02/05/2016 à 17:16, Maciej Sumiński a écrit :
>>> As noone had opposed the changes, I have just merged the bitmap fonts
>>> branch.
>>>
>>> As a small bonus, we have also added an option to switch to dotted grid
>>> in GAL (thanks to Tom for refactoring the grid drawing routine).
>>>
>>> Regards,
>>> Orson
>>
>> A lot of work! Thanks to Tomasz and you.
>>
>> After a fast and short test, the change looks good.
>>
>> However, I noticed 2 issues (W7 32 bits on msys2):
>> - The grid is not visible on OpenGL, but is visible on Cairo.
>> - I can switch between legacy and Cairo, as long I not switched to OpenGL, 
>> but if I switch to Cairo
>> from OpenGL, or from legacy after having previously switched to Opengl, 
>> Pcbnew crashes.
> 
> Hi Jean-Pierre,
> 
> Is grid invisible in both modes (lines & dots)?

How to change the mode ?

Nevertheless, the dot grid is not displayed when using wxWidgets 3.1, and it is 
displayed when using
wxWidgets 3.0.2.
I never see issues previously with lines.


> Would you send me a backtrace? I cannot make it crash on W7_64/msys2.

Unfortunately, the bt is small:
When switching from OpenGL to cairo:
#0  0x77293c4d in ntdll!DbgBreakPoint () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x772febef in ntdll!DbgUiRemoteBreakin ()
   from C:\Windows\SYSTEM32\ntdll.dll
#2  0x29813028 in ?? ()
#3  0x75b0ef1c in KERNEL32!BaseThreadInitThunk ()
   from C:\Windows\system32\kernel32.dll
#4  0x772c3648 in ntdll!RtlInitializeExceptionChain ()
   from C:\Windows\SYSTEM32\ntdll.dll
#5  0x772c361b in ntdll!RtlInitializeExceptionChain ()
   from C:\Windows\SYSTEM32\ntdll.dll
#6  0x in ?? ()

And when existing in legacy mode (after using Opengl mode):
#0  0x5628ae51 in ?? () from C:\Windows\system32\ig4icd32.dll
Backtrace stopped: Cannot access memory at address 0x3


More strange, when starting pcbnew (Debug build) in legacy mode and switching 
to Cairo more:
- crash if running under gdb (giving the same backtrace as when switching from 
OpenGL to cairo,
therefore this bt is perhaps due only to switching to cairo on gdb).
- does no crash when running without gdb.

> 
> Regards,
> Orson
> 
> 
> 


-- 
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


Re: [Kicad-developers] Bitmap fonts (+ dotted grid)

2016-05-03 Thread Chris Pavlina
Remember, I'm about to rearrange all the options anyway, so it's probably not
much of a concern where it goes for now. Feel free to begin the preferences
organization bikeshedding on the thread I already started for that, though :D

On Tue, May 03, 2016 at 03:58:21PM +0200, Maciej Sumiński wrote:
> Hi Simon,
> 
> On 05/02/2016 07:08 PM, Simon Wells wrote:
> > just fyi for anyone as dumb/blind as me the option for switching
> > between dots and lines for the grid is in Dimensions->Grid in pcbnew.
> 
> Purposedly I have not left any clues to see if I had picked the right
> place for the setting. Apparently it is not as intuitive as I initially
> thought, so do you know another place that fits beter?
> 
> > Orson, in regards to this as the button on the left with the dotted
> > grid thingy jsut does the damn as the render checkbox for grid might
> > it not be an idea to change the button on the left to switch between
> > dots/lines or dots/lines/none?
> 
> I am not sure if it is a good idea. I believe there are two camps:
> dot-gridders and line-gridders and they never switch sides, so everyone
> would have to go through an unnecessary clicks to skip an unwanted grid
> mode while toggling grid display.
> 
> It would also introduce another inconsistency with the legacy canvas,
> and I would rather avoid it at the moment.
> 
> Regards,
> Orson
> 
> > Simon
> > 
> > On Tue, May 3, 2016 at 3:16 AM, Maciej Sumiński  
> > wrote:
> >> As noone had opposed the changes, I have just merged the bitmap fonts
> >> branch.
> >>
> >> As a small bonus, we have also added an option to switch to dotted grid
> >> in GAL (thanks to Tom for refactoring the grid drawing routine).
> >>
> >> Regards,
> >> Orson
> >>
> >>
> >> ___
> >> 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] Bitmap fonts (+ dotted grid)

2016-05-03 Thread Maciej Sumiński
On 05/02/2016 06:33 PM, jp charras wrote:
> Le 02/05/2016 à 17:16, Maciej Sumiński a écrit :
>> As noone had opposed the changes, I have just merged the bitmap fonts
>> branch.
>>
>> As a small bonus, we have also added an option to switch to dotted grid
>> in GAL (thanks to Tom for refactoring the grid drawing routine).
>>
>> Regards,
>> Orson
> 
> A lot of work! Thanks to Tomasz and you.
> 
> After a fast and short test, the change looks good.
> 
> However, I noticed 2 issues (W7 32 bits on msys2):
> - The grid is not visible on OpenGL, but is visible on Cairo.
> - I can switch between legacy and Cairo, as long I not switched to OpenGL, 
> but if I switch to Cairo
> from OpenGL, or from legacy after having previously switched to Opengl, 
> Pcbnew crashes.

Hi Jean-Pierre,

Is grid invisible in both modes (lines & dots)?
Would you send me a backtrace? I cannot make it crash on W7_64/msys2.

Regards,
Orson





signature.asc
Description: OpenPGP digital signature
___
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] Bitmap fonts (+ dotted grid)

2016-05-03 Thread Maciej Sumiński
Hi Simon,

On 05/02/2016 07:08 PM, Simon Wells wrote:
> just fyi for anyone as dumb/blind as me the option for switching
> between dots and lines for the grid is in Dimensions->Grid in pcbnew.

Purposedly I have not left any clues to see if I had picked the right
place for the setting. Apparently it is not as intuitive as I initially
thought, so do you know another place that fits beter?

> Orson, in regards to this as the button on the left with the dotted
> grid thingy jsut does the damn as the render checkbox for grid might
> it not be an idea to change the button on the left to switch between
> dots/lines or dots/lines/none?

I am not sure if it is a good idea. I believe there are two camps:
dot-gridders and line-gridders and they never switch sides, so everyone
would have to go through an unnecessary clicks to skip an unwanted grid
mode while toggling grid display.

It would also introduce another inconsistency with the legacy canvas,
and I would rather avoid it at the moment.

Regards,
Orson

> Simon
> 
> On Tue, May 3, 2016 at 3:16 AM, Maciej Sumiński  
> wrote:
>> As noone had opposed the changes, I have just merged the bitmap fonts
>> branch.
>>
>> As a small bonus, we have also added an option to switch to dotted grid
>> in GAL (thanks to Tom for refactoring the grid drawing routine).
>>
>> Regards,
>> Orson
>>
>>
>> ___
>> 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
>>








signature.asc
Description: OpenPGP digital signature
___
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] Bitmap fonts (+ dotted grid)

2016-05-03 Thread Maciej Sumiński
Hi Bernhard,

Good catch, it should be fixed now (revision 6766).

Regards,
Orson

On 05/02/2016 07:24 PM, Bernhard Stegmaier wrote:
> I already wanted to try over the weekend on OS X before the merge… anyway, 
> just 
> tried and it looks fine for me, good work!
> Oh yes, I love the dotted grid… :)
> 
> Just some small cosmetic comments/questions:
> How is the font size and position of the net name determined?
> 
> If you look at the below screenshot:
> * RTC_INT/RTC_1W is not (vertically) centered on the track as e.g., RXD/TXD, 
> GND, or Net-(C14-Pad1)
> * Font of RTC_INT is pretty small in comparison to GND or RXD/TXD… track 
> width 
> of RXD/TXD is the same as RTC_*. Similar for GND/+3.3V.
> 
> 
> Regards,
> Bernhard
> 
> 
> 
> 
> 
>> On 02.05.2016, at 18:33, jp charras > > wrote:
>>
>> Le 02/05/2016 à 17:16, Maciej Sumiński a écrit :
>>> As noone had opposed the changes, I have just merged the bitmap fonts
>>> branch.
>>>
>>> As a small bonus, we have also added an option to switch to dotted grid
>>> in GAL (thanks to Tom for refactoring the grid drawing routine).
>>>
>>> Regards,
>>> Orson
>>
>> A lot of work! Thanks to Tomasz and you.
>>
>> After a fast and short test, the change looks good.
>>
>> However, I noticed 2 issues (W7 32 bits on msys2):
>> - The grid is not visible on OpenGL, but is visible on Cairo.
>> - I can switch between legacy and Cairo, as long I not switched to OpenGL, 
>> but 
>> if I switch to Cairo
>> from OpenGL, or from legacy after having previously switched to Opengl, 
>> Pcbnew 
>> crashes.
>>
>>
>> -- 
>> 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
> 




signature.asc
Description: OpenPGP digital signature
___
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] Bitmap fonts (+ dotted grid)

2016-05-02 Thread jp charras
Le 02/05/2016 à 17:16, Maciej Sumiński a écrit :
> As noone had opposed the changes, I have just merged the bitmap fonts
> branch.
> 
> As a small bonus, we have also added an option to switch to dotted grid
> in GAL (thanks to Tom for refactoring the grid drawing routine).
> 
> Regards,
> Orson

A lot of work! Thanks to Tomasz and you.

After a fast and short test, the change looks good.

However, I noticed 2 issues (W7 32 bits on msys2):
- The grid is not visible on OpenGL, but is visible on Cairo.
- I can switch between legacy and Cairo, as long I not switched to OpenGL, but 
if I switch to Cairo
from OpenGL, or from legacy after having previously switched to Opengl, Pcbnew 
crashes.


-- 
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


Re: [Kicad-developers] Bitmap fonts (+ dotted grid)

2016-05-02 Thread Maciej Sumiński
As noone had opposed the changes, I have just merged the bitmap fonts
branch.

As a small bonus, we have also added an option to switch to dotted grid
in GAL (thanks to Tom for refactoring the grid drawing routine).

Regards,
Orson



signature.asc
Description: OpenPGP digital signature
___
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