Bug 54222 - A0 papersize default for kdvi
Summary: A0 papersize default for kdvi
Status: RESOLVED FIXED
Alias: None
Product: kdvi
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Stefan Kebekus
URL:
Keywords:
: 54221 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-06 20:18 UTC by mrudolf
Modified: 2003-02-13 06:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mrudolf 2003-02-06 20:18:34 UTC
Version:            (using KDE )
OS:          Linux

KDVI has A0 as default paper size, which causes allocation of huge amount of memory and may look like crash.
Comment 1 Thiago Macieira 2003-02-06 21:37:30 UTC
*** Bug 54221 has been marked as a duplicate of this bug. ***
Comment 2 George Staikos 2003-02-13 06:07:55 UTC
Subject: KDE_3_1_BRANCH: kdegraphics/kviewshell

CVS commit by staikos: 

Default paper size is now A4 or US Letter depending on Metric or Imperial units.
However there is a TODO/FIXME to make the default paper size depend on the
system wide setting.  This will be fixed separately.

CCMAIL: 54222-done@bugs.kde.org


  M +2 -2      pageSize.cpp   1.4.2.1


--- kdegraphics/kviewshell/pageSize.cpp  #1.4:1.4.2.1
@@ -27,6 +27,6 @@ struct pageSizeItem 
 // --e.g. use "US Letter" if metric system is "imperial".
 
-#define defaultMetricPaperSize 1 // Default paper size is "DIN A4"
-#define defaultImperialPaperSize 5 // Default paper size is "US Letter"
+#define defaultMetricPaperSize 4 // Default paper size is "DIN A4"
+#define defaultImperialPaperSize 8 // Default paper size is "US Letter"
 
 static pageSizeItem staticList[] = { {"DIN A0",    841.0, 1189.0, "mm"},