Ignore:
Timestamp:
Oct 19, 2008, 4:08:46 PM (13 years ago)
Author:
Eugene Romanenko
Message:

PDF plugin: Poppler library updated to version 0.10.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/poppler/mypoppler/poppler/GlobalParams.cc

    r250 r257  
    44//
    55// Copyright 2001-2003 Glyph & Cog, LLC
     6//
     7//========================================================================
     8
     9//========================================================================
     10//
     11// Modified under the Poppler project - http://poppler.freedesktop.org
     12//
     13// Copyright (C) 2005 Martin Kretzschmar <martink@gnome.org>
     14// Copyright (C) 2005, 2006 Kristian HÞgsberg <krh@redhat.com>
     15// Copyright (C) 2005, 2007, 2008 Albert Astals Cid <aacid@kde.org>
     16// Copyright (C) 2005 Jonathan Blandford <jrb@redhat.com>
     17// Copyright (C) 2006, 2007 Jeff Muizelaar <jeff@infidigm.net>
     18// Copyright (C) 2006 Takashi Iwai <tiwai@suse.de>
     19// Copyright (C) 2006 Ed Catmur <ed@catmur.co.uk>
     20// Copyright (C) 2007 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
     21// Copyright (C) 2007 Jonathan Kew <jonathan_kew@sil.org>
     22//
     23// To see a description of the changes please see the Changelog file that
     24// came with your tarball or type make ChangeLog if you are building from git
    625//
    726//========================================================================
     
    908927}
    909928
    910 GBool findModifier(const char *name, const char *modifier, const char **start)
     929static GBool findModifier(const char *name, const char *modifier, const char **start)
    911930{
    912931  const char *match;
     
    10641083  if (width != -1) FcPatternAddInteger(p, FC_WIDTH, width);
    10651084  if (spacing != -1) FcPatternAddInteger(p, FC_SPACING, spacing);*/
    1066  
     1085
    10671086  p = FcPatternBuild(NULL,
    1068                     FC_FAMILY, FcTypeString, family,
    1069                     FC_SLANT, FcTypeInteger, slant,
    1070                     FC_WEIGHT, FcTypeInteger, weight,
    1071                     FC_WIDTH, FcTypeInteger, width,
    1072                     FC_SPACING, FcTypeInteger, spacing,
    1073                     FC_LANG, FcTypeString, lang,
    1074                     NULL);
     1087                     FC_FAMILY, FcTypeString, family,
     1088                     FC_SLANT, FcTypeInteger, slant,
     1089                     FC_WEIGHT, FcTypeInteger, weight,
     1090                     FC_WIDTH, FcTypeInteger, width,
     1091                     FC_SPACING, FcTypeInteger, spacing,
     1092                     FC_LANG, FcTypeString, lang,
     1093                     NULL);
    10751094 
    10761095  if (deleteFamily)
     
    15451564}
    15461565
     1566GooList *GlobalParams::getEncodingNames()
     1567{
     1568  GooList *result = new GooList;
     1569  GooHashIter *iter;
     1570  GooString *key;
     1571  void *val;
     1572  residentUnicodeMaps->startIter(&iter);
     1573  while (residentUnicodeMaps->getNext(&iter, &key, &val)) {
     1574    result->append(key);
     1575  }
     1576  residentUnicodeMaps->killIter(&iter);
     1577  unicodeMaps->startIter(&iter);
     1578  while (unicodeMaps->getNext(&iter, &key, &val)) {
     1579    result->append(key);
     1580  }
     1581  unicodeMaps->killIter(&iter);
     1582  return result;
     1583}
     1584
    15471585//------------------------------------------------------------------------
    15481586// functions to set parameters
Note: See TracChangeset for help on using the changeset viewer.