summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEwald Hew <ewaldhew@gmail.com>2017-06-08 15:31:50 +0800
committerEwald Hew <ewaldhew@gmail.com>2017-08-28 08:29:07 +0800
commit04ff306700e2e6c993ea2cb1036928f397954cc2 (patch)
treea7ad0e5a8dcf9f6baebcb97cd4a7dac2e5b99968 /include
parent0bcf12540b7fcfc491ffc9c5915f3ff2491d6371 (diff)
downloadfreetype2-04ff306700e2e6c993ea2cb1036928f397954cc2.tar.gz
[psaux, cff] Move cff_random into psaux service.
NOTE: Does not compile! Minor fix to allow both `cff' and `psaux' to use cff_random. * src/cff/cffload.c (cff_random): Moved to... * src/psaux/psobjs.c: Here. * src/cff/cffload.h: Move corresponding declaration to src/psaux/psobjs.h. * include/freetype/internal/psaux.h (PSAux_ServiceRec): Register the function here... * src/psaux/psauxmod.c: And here. * src/cff/cffload.c, src/psaux/cf2intrp.c: Updated code.
Diffstat (limited to 'include')
-rw-r--r--include/freetype/internal/psaux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/freetype/internal/psaux.h b/include/freetype/internal/psaux.h
index f127a44cc..258009be5 100644
--- a/include/freetype/internal/psaux.h
+++ b/include/freetype/internal/psaux.h
@@ -1067,6 +1067,10 @@ FT_BEGIN_HEADER
FT_Offset length,
FT_UShort seed );
+ FT_UInt32
+ (*cff_random)( FT_UInt32 r );
+
+
T1_CMap_Classes t1_cmap_classes;
/* fields after this comment line were added after version 2.1.10 */