1 #ifndef FONTFORGE_FVFONTS_H
2 #define FONTFORGE_FVFONTS_H
3 
4 #include "baseviews.h"
5 #include "splinefont.h"
6 
7 extern AnchorClass *MCConvertAnchorClass(struct sfmergecontext *mc, AnchorClass *ac);
8 extern BDFChar *BDFCharCopy(BDFChar *bc);
9 extern int SFCIDFindCID(SplineFont *sf, int unienc, const char *name);
10 extern int SFCIDFindExistingChar(SplineFont *sf, int unienc, const char *name);
11 extern int SFFindExistingSlot(SplineFont *sf, int unienc, const char *name);
12 extern int SFFindGID(SplineFont *sf, int unienc, const char *name);
13 extern int SFFindSlot(SplineFont *sf, EncMap *map, int unienc, const char *name);
14 extern int SFHasChar(SplineFont *sf, int unienc, const char *name);
15 extern int SFHasCID(SplineFont *sf, int cid);
16 extern PST *PSTCopy(PST *base, SplineChar *sc, struct sfmergecontext *mc);
17 extern RefChar *RefCharsCopy(RefChar *ref);
18 extern SplineChar *SFGetChar(SplineFont *sf, int unienc, const char *name);
19 extern SplineChar *SFGetOrMakeCharFromUnicodeBasic(SplineFont *sf, int ch);
20 extern SplineChar *SFHashName(SplineFont *sf, const char *name);
21 extern SplineChar *SplineCharCopy(SplineChar *sc, SplineFont *into, struct sfmergecontext *mc);
22 extern SplineChar *SplineCharInterpolate(SplineChar *base, SplineChar *other, real amount, SplineFont *newfont);
23 extern SplineFont *InterpolateFont(SplineFont *base, SplineFont *other, real amount, Encoding *enc);
24 extern SplineSet *SplineSetsInterpolate(SplineSet *base, SplineSet *other, real amount, SplineChar *sc);
25 extern struct altuni *AltUniCopy(struct altuni *altuni, SplineFont *noconflicts);
26 extern struct lookup_subtable *MCConvertSubtable(struct sfmergecontext *mc, struct lookup_subtable *sub);
27 extern void BitmapsCopy(SplineFont *to, SplineFont *from, int to_index, int from_index);
28 extern void GlyphHashFree(SplineFont *sf);
29 extern void __GlyphHashFree(struct glyphnamehash *hash);
30 extern void MergeFont(FontViewBase *fv, SplineFont *other, int preserveCrossFontKerning);
31 extern void SFFinishMergeContext(struct sfmergecontext *mc);
32 extern void SFHashGlyph(SplineFont *sf, SplineChar *sc);
33 
34 #endif /* FONTFORGE_FVFONTS_H */
35