"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "base/gxfapi.h" between
ghostscript-9.26.tar.xz and ghostscript-9.27.tar.xz

About: Ghostscript is an interpreter and rendering engine for the PostScript language and for PDF (GPL release).

gxfapi.h  (ghostscript-9.26.tar.xz):gxfapi.h  (ghostscript-9.27.tar.xz)
/* Copyright (C) 2001-2018 Artifex Software, Inc. /* Copyright (C) 2001-2019 Artifex Software, Inc.
All Rights Reserved. All Rights Reserved.
This software is provided AS-IS with no warranty, either express or This software is provided AS-IS with no warranty, either express or
implied. implied.
This software is distributed under license and may not be copied, modified This software is distributed under license and may not be copied, modified
or distributed except as expressly authorized under the terms of that or distributed except as expressly authorized under the terms of that
license. Refer to licensing information at http://www.artifex.com/ license. Refer to licensing information at http://www.artifex.com/
or contact Artifex Software, Inc., 1305 Grant Avenue - Suite 200, or contact Artifex Software, Inc., 1305 Grant Avenue - Suite 200,
Novato, CA 94945, U.S.A., +1(415)492-9861, for further information. Novato, CA 94945, U.S.A., +1(415)492-9861, for further information.
*/ */
/* Font API support */ /* Font API support */
#ifndef gxfapi_INCLUDED #ifndef gxfapi_INCLUDED
#define gxfapi_INCLUDED #define gxfapi_INCLUDED
#include "gsmemory.h" #include "gsmemory.h"
#include "gsmatrix.h"
#include "gsccode.h" #include "gsccode.h"
#include "stdint_.h" #include "stdint_.h"
#include "gsgstate.h"
#include "gsfont.h"
#include "gstext.h"
#ifndef gs_font_base_DEFINED
# define gs_font_base_DEFINED
typedef struct gs_font_base_s gs_font_base; typedef struct gs_font_base_s gs_font_base;
#endif
#ifndef gs_gstate_DEFINED
# define gs_gstate_DEFINED
typedef struct gs_gstate_s gs_gstate;
#endif
#ifndef gs_text_enum_DEFINED
# define gs_text_enum_DEFINED
typedef struct gs_text_enum_s gs_text_enum_t;
#endif
#ifndef gs_font_DEFINED
# define gs_font_DEFINED
typedef struct gs_font_s gs_font;
#endif
typedef int fracint; /* A fractional integer with statically unknown number of fraction bits. typedef int fracint; /* A fractional integer with statically unknown number of fraction bits.
The number of bits depends on plugin and is b eing specified in The number of bits depends on plugin and is b eing specified in
gs_fapi_server::frac_shift. gs_fapi_server::frac_shift.
*/ */
typedef int gs_fapi_retcode; typedef int gs_fapi_retcode;
typedef enum typedef enum
{ {
gs_fapi_font_feature_FontMatrix, gs_fapi_font_feature_FontMatrix,
skipping to change at line 291 skipping to change at line 275
typedef struct typedef struct
{ /* 1bit/pixel only, rows are byte-aligned. */ { /* 1bit/pixel only, rows are byte-aligned. */
void *p; void *p;
int width, height, line_step; int width, height, line_step;
int orig_x, orig_y; /* origin, 1/16s pixel */ int orig_x, orig_y; /* origin, 1/16s pixel */
int left_indent, top_indent; int left_indent, top_indent;
int black_width, black_height; int black_width, black_height;
} gs_fapi_raster; } gs_fapi_raster;
#ifndef gs_fapi_server_DEFINED
#define gs_fapi_server_DEFINED
typedef struct gs_fapi_server_s gs_fapi_server;
#endif
typedef enum gs_fapi_descendant_code_s typedef enum gs_fapi_descendant_code_s
{ /* Possible values are descendant font indices a nd 4 ones defined below. */ { /* Possible values are descendant font indices a nd 4 ones defined below. */
gs_fapi_descendant_prepared = -1, /* See FAPI_prepare_font in zfapi.c . */ gs_fapi_descendant_prepared = -1, /* See FAPI_prepare_font in zfapi.c . */
gs_fapi_toplevel_prepared = -2, gs_fapi_toplevel_prepared = -2,
gs_fapi_toplevel_begin = -3, gs_fapi_toplevel_begin = -3,
gs_fapi_toplevel_complete = -4 gs_fapi_toplevel_complete = -4
} gs_fapi_descendant_code; } gs_fapi_descendant_code;
/* interrogate scaler about style simulation capabilities /* interrogate scaler about style simulation capabilities
* for a given font * for a given font
 End of changes. 6 change blocks. 
25 lines changed or deleted 4 lines changed or added

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