]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
DCS needs to indicate inch/metric usage
authorAidan Van Dyk <aidan@ifax.com>
Fri, 11 May 2007 15:49:41 +0000 (15:49 +0000)
committerAidan Van Dyk <aidan@ifax.com>
Fri, 11 May 2007 15:49:41 +0000 (15:49 +0000)
From Lee:
| commit 878b4084eeb89adef1dc455541c55d57a0d8aaee
| Author: Lee Howard <faxguy@howardsilvan.com>
| Date:   Tue Mar 6 01:49:07 2007 +0000
|
|   DCS needs to indicate inch/metric usage

util/Class2Params.c++

index 01aebff5c54b17c51fec1647b482b54505777748..64068b9056b23c6b8f0fb42c81cec662b9c5e9b8 100644 (file)
@@ -373,6 +373,9 @@ Class2Params::update(bool isDIS)
     if (vr & VR_R8 || vr & VR_200X400)   setBit(BITNUM_VR_R8, true);   // R8  x 15.4 l/mm
     if (vr & VR_R16)                    setBit(BITNUM_VR_R16, true);   // R16 x 15.4 l/mm
     if (vr & VR_300X300)                setBit(BITNUM_VR_300X300, true);// 300 x 300 dpi
+    if (!isDIS && (vr & VR_200X200 || vr & VR_200X400 || vr & VR_300X300)) {
+       setBit(BITNUM_INCH_RES, true);  // indicate inch-based resolution usage
+    }
 
     /*
      * SIGNALING RATE