Ticket #9548: 0001-Printserver-Add-JIS-B5-paper-size.patch

File 0001-Printserver-Add-JIS-B5-paper-size.patch, 1.1 KB (added by mt, 12 years ago)
  • src/servers/print/ConfigWindow.cpp

    From 198e7013660671f845e73fe9f263942171f154a7 Mon Sep 17 00:00:00 2001
    From: Murai Takashi <tmurai01@gmail.com>
    Date: Fri, 15 Mar 2013 21:22:30 +0900
    Subject: [PATCH] Printserver: Add JIS B5 paper size
    
    ---
     src/servers/print/ConfigWindow.cpp |    4 ++++
     1 file changed, 4 insertions(+)
    
    diff --git a/src/servers/print/ConfigWindow.cpp b/src/servers/print/ConfigWindow.cpp
    index 6a8f6fb..042d686 100644
    a b static const float ledger_width = 1224.0;  
    5858static const float ledger_height = 792.0;
    5959static const float tabloid_width = 792.0;
    6060static const float tabloid_height = 1224.0;
     61static const float jis_b5_width = 516.0;
     62static const float jis_b5_height = 729.0;
    6163
    6264
    6365static struct PageFormat
    static struct PageFormat  
    9193        a6_width, a6_height },
    9294    {B_TRANSLATE_MARK_COMMENT("B5", "ISO 216 paper size"),
    9395        b5_width, b5_height },
     96    {B_TRANSLATE_MARK_COMMENT("B5 (JIS)", "JIS P0138 B5, a Japanese "
     97        "paper size"), jis_b5_width, jis_b5_height },
    9498};
    9599
    96100