Ignore:
Timestamp:
Jul 25, 2007, 5:59:35 PM (14 years ago)
Author:
Eugene Romanenko
Message:

DJVU plugin: djvulibre updated to version 3.5.19

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libdjvu/DjVuInfo.cpp

    r17 r206  
    66//C-
    77//C- This software is subject to, and may be distributed under, the
    8 //C- GNU General Public License, Version 2. The license should have
     8//C- GNU General Public License, either Version 2 of the license,
     9//C- or (at your option) any later version. The license should have
    910//C- accompanied the software or you may obtain a copy of the license
    1011//C- from the Free Software Foundation at http://www.fsf.org .
     
    1516//C- GNU General Public License for more details.
    1617//C-
    17 //C- DjVuLibre-3.5 is derived from the DjVu(r) Reference Library
    18 //C- distributed by Lizardtech Software.  On July 19th 2002, Lizardtech
    19 //C- Software authorized us to replace the original DjVu(r) Reference
    20 //C- Library notice by the following text (see doc/lizard2002.djvu):
     18//C- DjVuLibre-3.5 is derived from the DjVu(r) Reference Library from
     19//C- Lizardtech Software.  Lizardtech Software has authorized us to
     20//C- replace the original DjVu(r) Reference Library notice by the following
     21//C- text (see doc/lizard2002.djvu and doc/lizardtech2007.djvu):
    2122//C-
    2223//C-  ------------------------------------------------------------------
     
    2728//C- |
    2829//C- | This software is subject to, and may be distributed under, the
    29 //C- | GNU General Public License, Version 2. The license should have
     30//C- | GNU General Public License, either Version 2 of the license,
     31//C- | or (at your option) any later version. The license should have
    3032//C- | accompanied the software or you may obtain a copy of the license
    3133//C- | from the Free Software Foundation at http://www.fsf.org .
     
    5254//C- +------------------------------------------------------------------
    5355//
    54 // $Id: DjVuInfo.cpp,v 1.10 2005/12/24 12:45:01 leonb Exp $
    55 // $Name: $
     56// $Id: DjVuInfo.cpp,v 1.11 2007/03/25 20:48:30 leonb Exp $
     57// $Name: release_3_5_19 $
    5658
    5759#ifdef HAVE_CONFIG_H
     
    129131  // Fixup
    130132  if (gamma<0.3)
    131      gamma=0.3;
     133    gamma=0.3;
    132134  if (gamma>5.0)
    133      gamma=5.0;
     135    gamma=5.0;
    134136  if (dpi < 25 || dpi > 6000)
    135137    dpi = 300;
    136138  switch (flags & 0x7)
    137   {
     139    {
    138140    case 6:  orientation=1; break;
    139141    case 2:  orientation=2; break;
    140142    case 5:  orientation=3; break;
    141143    default: orientation=0; break;
    142   }
     144    }
    143145}
    144146
     
    155157  unsigned char flags;
    156158  switch (orientation)
    157   {
     159    {
    158160    default: flags=0; break;
    159161    case 1:  flags=6; break;
    160162    case 2:  flags=2; break;
    161163    case 3:  flags=5; break;
    162   }
     164    }
    163165  bs.write8(flags);
    164166}
Note: See TracChangeset for help on using the changeset viewer.