← Back to team overview

kicad-developers team mailing list archive

Re: Default paper size and locale

 

On my Macbook Air, the page size default seems to come from SystemPreferences->Printers & Scanners->Default paper size (menu list including A4 and US letter - at the bottom of panel)

When I come back from Europe, it usually takes me awhile to remember to change this. It does not set itself.

Bob G


On 10/11/2016 01:36 PM, Wayne Stambaugh wrote:
On 10/11/2016 2:09 PM, Chris Pavlina wrote:
Hi,

At least on Linux, and probably on other platforms, the system locale
specifies the standard local paper size. Can anybody explain to me,
then, why sch_screen.cpp:98 hard codes this to A4? KiCad is a localized
application, surely the developer who daydreamed of the entire world
using A4 by default was aware of this fact when they typed
m_paper(wxT("A4")) into the default constructor.
I'm OK with changing this to the current locale.  It has to default to
something when the object is created.  A PAGE_INFO object ctor could be
created to do this.

A slightly less interesting question is why this appears not to be
something the user can configure.
This would be a useful setting in both eeschema and pcbnew.

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp



References