a336400112
This is useful for OpenType features like `c2sc' (caps to small caps) that don't have lowercase letters by definition, or other features that mainly operate on numerals. * src/autofit/afscript.h: Add more standard characters. * src/autofit/aftypes.h: Update use of `SCRIPT' macro. (AF_ScriptClassRec): Add members to hold two more standard characters. (AF_DEFINE_SCRIPT_CLASS): Updated. * src/autofit/afglobal.c, src/autofit/afglobal.h, * src/autofit/afpic.c, src/autofit/afranges.h, src/autofit/hbshim.c: Update use of `SCRIPT' macro. * src/autofit/afcjk.c (af_cjk_metrics_init_widths), src/autofit/aflatin.c (af_latin_metrics_init_widths): Scan two more standard characters.
42 lines
1.5 KiB
C
42 lines
1.5 KiB
C
/***************************************************************************/
|
|
/* */
|
|
/* afranges.h */
|
|
/* */
|
|
/* Auto-fitter Unicode script ranges (specification). */
|
|
/* */
|
|
/* Copyright 2013, 2014 by */
|
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
|
/* */
|
|
/* This file is part of the FreeType project, and may only be used, */
|
|
/* modified, and distributed under the terms of the FreeType project */
|
|
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
|
|
/* this file you indicate that you have read the license and */
|
|
/* understand and accept it fully. */
|
|
/* */
|
|
/***************************************************************************/
|
|
|
|
|
|
#ifndef __AFRANGES_H__
|
|
#define __AFRANGES_H__
|
|
|
|
|
|
#include "aftypes.h"
|
|
|
|
|
|
FT_BEGIN_HEADER
|
|
|
|
#undef SCRIPT
|
|
#define SCRIPT( s, S, d, h, sc1, sc2, sc3 ) \
|
|
extern const AF_Script_UniRangeRec af_ ## s ## _uniranges[];
|
|
|
|
#include "afscript.h"
|
|
|
|
/* */
|
|
|
|
FT_END_HEADER
|
|
|
|
#endif /* __AFRANGES_H__ */
|
|
|
|
|
|
/* END */
|