"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xpdf/GlobalParams.h" between
xpdf-4.01.01.tar.gz and xpdf-4.02.tar.gz

About: Xpdf is a PDF viewer for X.

GlobalParams.h  (xpdf-4.01.01):GlobalParams.h  (xpdf-4.02)
skipping to change at line 55 skipping to change at line 55
// The global parameters object. // The global parameters object.
extern GlobalParams *globalParams; extern GlobalParams *globalParams;
//------------------------------------------------------------------------ //------------------------------------------------------------------------
enum SysFontType { enum SysFontType {
sysFontPFA, sysFontPFA,
sysFontPFB, sysFontPFB,
sysFontTTF, sysFontTTF,
sysFontTTC sysFontTTC,
sysFontOTF
}; };
//------------------------------------------------------------------------ //------------------------------------------------------------------------
class PSFontParam16 { class PSFontParam16 {
public: public:
GString *name; // PDF font name for psResidentFont16; GString *name; // PDF font name for psResidentFont16;
// char collection name for psResidentFontCC // char collection name for psResidentFontCC
int wMode; // writing mode (0=horiz, 1=vert) int wMode; // writing mode (0=horiz, 1=vert)
skipping to change at line 283 skipping to change at line 284
GBool getPSRasterMono(); GBool getPSRasterMono();
int getPSRasterSliceSize(); int getPSRasterSliceSize();
GBool getPSAlwaysRasterize(); GBool getPSAlwaysRasterize();
GBool getPSNeverRasterize(); GBool getPSNeverRasterize();
GString *getTextEncodingName(); GString *getTextEncodingName();
EndOfLineKind getTextEOL(); EndOfLineKind getTextEOL();
GBool getTextPageBreaks(); GBool getTextPageBreaks();
GBool getTextKeepTinyChars(); GBool getTextKeepTinyChars();
GString *getInitialZoom(); GString *getInitialZoom();
int getDefaultFitZoom(); int getDefaultFitZoom();
GString *getInitialDisplayMode();
GBool getInitialToolbarState();
GBool getInitialSidebarState(); GBool getInitialSidebarState();
GString *getInitialSelectMode();
int getMaxTileWidth(); int getMaxTileWidth();
int getMaxTileHeight(); int getMaxTileHeight();
int getTileCacheSize(); int getTileCacheSize();
int getWorkerThreads(); int getWorkerThreads();
GBool getEnableFreeType(); GBool getEnableFreeType();
GBool getDisableFreeTypeHinting(); GBool getDisableFreeTypeHinting();
GBool getAntialias(); GBool getAntialias();
GBool getVectorAntialias(); GBool getVectorAntialias();
GBool getAntialiasPrinting(); GBool getAntialiasPrinting();
StrokeAdjustMode getStrokeAdjust(); StrokeAdjustMode getStrokeAdjust();
skipping to change at line 308 skipping to change at line 312
double getScreenBlackThreshold(); double getScreenBlackThreshold();
double getScreenWhiteThreshold(); double getScreenWhiteThreshold();
double getMinLineWidth(); double getMinLineWidth();
GBool getEnablePathSimplification(); GBool getEnablePathSimplification();
GBool getDrawAnnotations(); GBool getDrawAnnotations();
GBool getDrawFormFields(); GBool getDrawFormFields();
GBool getOverprintPreview() { return overprintPreview; } GBool getOverprintPreview() { return overprintPreview; }
GString *getPaperColor(); GString *getPaperColor();
GString *getMatteColor(); GString *getMatteColor();
GString *getFullScreenMatteColor(); GString *getFullScreenMatteColor();
GBool getReverseVideoInvertImages();
GString *getLaunchCommand() { return launchCommand; } GString *getLaunchCommand() { return launchCommand; }
GString *getMovieCommand() { return movieCommand; } GString *getMovieCommand() { return movieCommand; }
GString *getDefaultPrinter(); GString *getDefaultPrinter();
GBool getMapNumericCharNames(); GBool getMapNumericCharNames();
GBool getMapUnknownCharNames(); GBool getMapUnknownCharNames();
GBool getMapExtTrueTypeFontsViaUnicode(); GBool getMapExtTrueTypeFontsViaUnicode();
GBool isDroppedFont(const char *fontName); GBool isDroppedFont(const char *fontName);
GBool getEnableXFA(); GBool getEnableXFA();
GList *getKeyBinding(int code, int mods, int context); GList *getKeyBinding(int code, int mods, int context);
int getNumPopupMenuCmds(); int getNumPopupMenuCmds();
PopupMenuCmd *getPopupMenuCmd(int idx); PopupMenuCmd *getPopupMenuCmd(int idx);
GString *getTabStateFile(); GString *getTabStateFile();
GBool getPrintCommands(); GBool getPrintCommands();
GBool getErrQuiet(); GBool getErrQuiet();
GString *getDebugLogFile();
void debugLogPrintf(char *fmt, ...);
CharCodeToUnicode *getCIDToUnicode(GString *collection); CharCodeToUnicode *getCIDToUnicode(GString *collection);
CharCodeToUnicode *getUnicodeToUnicode(GString *fontName); CharCodeToUnicode *getUnicodeToUnicode(GString *fontName);
UnicodeMap *getUnicodeMap(GString *encodingName); UnicodeMap *getUnicodeMap(GString *encodingName);
CMap *getCMap(GString *collection, GString *cMapName); CMap *getCMap(GString *collection, GString *cMapName);
UnicodeMap *getTextEncoding(); UnicodeMap *getTextEncoding();
//----- functions to set parameters //----- functions to set parameters
void addUnicodeRemapping(Unicode in, Unicode *out, int len); void addUnicodeRemapping(Unicode in, Unicode *out, int len);
skipping to change at line 509 skipping to change at line 516
GBool psNeverRasterize; // prevent PostScript rasterization GBool psNeverRasterize; // prevent PostScript rasterization
GString *textEncoding; // encoding (unicodeMap) to use for text GString *textEncoding; // encoding (unicodeMap) to use for text
// output // output
EndOfLineKind textEOL; // type of EOL marker to use for text EndOfLineKind textEOL; // type of EOL marker to use for text
// output // output
GBool textPageBreaks; // insert end-of-page markers? GBool textPageBreaks; // insert end-of-page markers?
GBool textKeepTinyChars; // keep all characters in text output GBool textKeepTinyChars; // keep all characters in text output
GString *initialZoom; // initial zoom level GString *initialZoom; // initial zoom level
int defaultFitZoom; // default zoom factor if initialZoom is int defaultFitZoom; // default zoom factor if initialZoom is
// 'page' or 'width'. // 'page' or 'width'.
GString *initialDisplayMode; // initial display mode (single,
// continuous, etc.)
GBool initialToolbarState; // initial toolbar state - open (true)
// or closed (false)
GBool initialSidebarState; // initial sidebar state - open (true) GBool initialSidebarState; // initial sidebar state - open (true)
// or closed (false) // or closed (false)
GString *initialSelectMode; // initial selection mode (block or linear)
int maxTileWidth; // maximum rasterization tile width int maxTileWidth; // maximum rasterization tile width
int maxTileHeight; // maximum rasterization tile height int maxTileHeight; // maximum rasterization tile height
int tileCacheSize; // number of rasterization tiles in cache int tileCacheSize; // number of rasterization tiles in cache
int workerThreads; // number of rasterization worker threads int workerThreads; // number of rasterization worker threads
GBool enableFreeType; // FreeType enable flag GBool enableFreeType; // FreeType enable flag
GBool disableFreeTypeHinting; // FreeType hinting disable flag GBool disableFreeTypeHinting; // FreeType hinting disable flag
GBool antialias; // font anti-aliasing enable flag GBool antialias; // font anti-aliasing enable flag
GBool vectorAntialias; // vector anti-aliasing enable flag GBool vectorAntialias; // vector anti-aliasing enable flag
GBool antialiasPrinting; // allow anti-aliasing when printing GBool antialiasPrinting; // allow anti-aliasing when printing
StrokeAdjustMode strokeAdjust; // stroke adjustment mode StrokeAdjustMode strokeAdjust; // stroke adjustment mode
skipping to change at line 536 skipping to change at line 548
double screenWhiteThreshold; // screen white clamping threshold double screenWhiteThreshold; // screen white clamping threshold
double minLineWidth; // minimum line width double minLineWidth; // minimum line width
GBool // enable path simplification GBool // enable path simplification
enablePathSimplification; enablePathSimplification;
GBool drawAnnotations; // draw annotations or not GBool drawAnnotations; // draw annotations or not
GBool drawFormFields; // draw form fields or not GBool drawFormFields; // draw form fields or not
GBool overprintPreview; // enable overprint preview GBool overprintPreview; // enable overprint preview
GString *paperColor; // paper (page background) color GString *paperColor; // paper (page background) color
GString *matteColor; // matte (background outside of page) color GString *matteColor; // matte (background outside of page) color
GString *fullScreenMatteColor; // matte color in full-screen mode GString *fullScreenMatteColor; // matte color in full-screen mode
GBool reverseVideoInvertImages; // invert images in reverse video mode
GString *launchCommand; // command executed for 'launch' links GString *launchCommand; // command executed for 'launch' links
GString *movieCommand; // command executed for movie annotations GString *movieCommand; // command executed for movie annotations
GString *defaultPrinter; // default printer (for interactive printing GString *defaultPrinter; // default printer (for interactive printing
// from the viewer) // from the viewer)
GBool mapNumericCharNames; // map numeric char names (from font subsets)? GBool mapNumericCharNames; // map numeric char names (from font subsets)?
GBool mapUnknownCharNames; // map unknown char names? GBool mapUnknownCharNames; // map unknown char names?
GBool mapExtTrueTypeFontsViaUnicode; // map char codes to GID via Unicode GBool mapExtTrueTypeFontsViaUnicode; // map char codes to GID via Unicode
// for external TrueType fonts? // for external TrueType fonts?
GHash *droppedFonts; // dropped fonts [int] GHash *droppedFonts; // dropped fonts [int]
GBool enableXFA; // enable XFA form rendering GBool enableXFA; // enable XFA form rendering
GList *keyBindings; // key & mouse button bindings [KeyBinding] GList *keyBindings; // key & mouse button bindings [KeyBinding]
GList *popupMenuCmds; // popup menu commands [PopupMenuCmd] GList *popupMenuCmds; // popup menu commands [PopupMenuCmd]
GString *tabStateFile; // path for the tab state save file GString *tabStateFile; // path for the tab state save file
GBool printCommands; // print the drawing commands GBool printCommands; // print the drawing commands
GBool errQuiet; // suppress error messages? GBool errQuiet; // suppress error messages?
GString *debugLogFile; // path for debug log file
CharCodeToUnicodeCache *cidToUnicodeCache; CharCodeToUnicodeCache *cidToUnicodeCache;
CharCodeToUnicodeCache *unicodeToUnicodeCache; CharCodeToUnicodeCache *unicodeToUnicodeCache;
UnicodeMapCache *unicodeMapCache; UnicodeMapCache *unicodeMapCache;
CMapCache *cMapCache; CMapCache *cMapCache;
#if MULTITHREADED #if MULTITHREADED
GMutex mutex; GMutex mutex;
GMutex unicodeMapCacheMutex; GMutex unicodeMapCacheMutex;
GMutex cMapCacheMutex; GMutex cMapCacheMutex;
 End of changes. 9 change blocks. 
1 lines changed or deleted 15 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)