1 /****************************************************************************
2 *
3 * afranges.c
4 *
5 * Auto-fitter Unicode script ranges (body).
6 *
7 * Copyright (C) 2013-2019 by
8 * David Turner, Robert Wilhelm, and Werner Lemberg.
9 *
10 * This file is part of the FreeType project, and may only be used,
11 * modified, and distributed under the terms of the FreeType project
12 * license, LICENSE.TXT. By continuing to use, modify, or distribute
13 * this file you indicate that you have read the license and
14 * understand and accept it fully.
15 *
16 */
17
18
19 #include "afranges.h"
20
21 /*
22 * The algorithm for assigning properties and styles to the `glyph_styles'
23 * array is as follows (cf. the implementation in
24 * `af_face_globals_compute_style_coverage').
25 *
26 * Walk over all scripts (as listed in `afscript.h').
27 *
756
757 const AF_Script_UniRangeRec af_osge_uniranges[] =
758 {
759 AF_UNIRANGE_REC( 0x104B0, 0x104FF ), /* Osage */
760 AF_UNIRANGE_REC( 0, 0 )
761 };
762
763 const AF_Script_UniRangeRec af_osge_nonbase_uniranges[] =
764 {
765 AF_UNIRANGE_REC( 0, 0 )
766 };
767
768
769 const AF_Script_UniRangeRec af_osma_uniranges[] =
770 {
771 AF_UNIRANGE_REC( 0x10480, 0x104AF ), /* Osmanya */
772 AF_UNIRANGE_REC( 0, 0 )
773 };
774
775 const AF_Script_UniRangeRec af_osma_nonbase_uniranges[] =
776 {
777 AF_UNIRANGE_REC( 0, 0 )
778 };
779
780
781 const AF_Script_UniRangeRec af_saur_uniranges[] =
782 {
783 AF_UNIRANGE_REC( 0xA880, 0xA8DF ), /* Saurashtra */
784 AF_UNIRANGE_REC( 0, 0 )
785 };
786
787 const AF_Script_UniRangeRec af_saur_nonbase_uniranges[] =
788 {
789 AF_UNIRANGE_REC( 0xA880, 0xA881 ),
790 AF_UNIRANGE_REC( 0xA8B4, 0xA8C5 ),
791 AF_UNIRANGE_REC( 0, 0 )
792 };
793
794
795 const AF_Script_UniRangeRec af_shaw_uniranges[] =
|
1 /****************************************************************************
2 *
3 * afranges.c
4 *
5 * Auto-fitter Unicode script ranges (body).
6 *
7 * Copyright (C) 2013-2020 by
8 * David Turner, Robert Wilhelm, and Werner Lemberg.
9 *
10 * This file is part of the FreeType project, and may only be used,
11 * modified, and distributed under the terms of the FreeType project
12 * license, LICENSE.TXT. By continuing to use, modify, or distribute
13 * this file you indicate that you have read the license and
14 * understand and accept it fully.
15 *
16 */
17
18
19 #include "afranges.h"
20
21 /*
22 * The algorithm for assigning properties and styles to the `glyph_styles'
23 * array is as follows (cf. the implementation in
24 * `af_face_globals_compute_style_coverage').
25 *
26 * Walk over all scripts (as listed in `afscript.h').
27 *
756
757 const AF_Script_UniRangeRec af_osge_uniranges[] =
758 {
759 AF_UNIRANGE_REC( 0x104B0, 0x104FF ), /* Osage */
760 AF_UNIRANGE_REC( 0, 0 )
761 };
762
763 const AF_Script_UniRangeRec af_osge_nonbase_uniranges[] =
764 {
765 AF_UNIRANGE_REC( 0, 0 )
766 };
767
768
769 const AF_Script_UniRangeRec af_osma_uniranges[] =
770 {
771 AF_UNIRANGE_REC( 0x10480, 0x104AF ), /* Osmanya */
772 AF_UNIRANGE_REC( 0, 0 )
773 };
774
775 const AF_Script_UniRangeRec af_osma_nonbase_uniranges[] =
776 {
777 AF_UNIRANGE_REC( 0, 0 )
778 };
779
780
781 const AF_Script_UniRangeRec af_rohg_uniranges[] =
782 {
783 AF_UNIRANGE_REC( 0x10D00, 0x10D3F ), /* Hanifi Rohingya */
784 AF_UNIRANGE_REC( 0, 0 )
785 };
786
787 const AF_Script_UniRangeRec af_rohg_nonbase_uniranges[] =
788 {
789 AF_UNIRANGE_REC( 0, 0 )
790 };
791
792
793 const AF_Script_UniRangeRec af_saur_uniranges[] =
794 {
795 AF_UNIRANGE_REC( 0xA880, 0xA8DF ), /* Saurashtra */
796 AF_UNIRANGE_REC( 0, 0 )
797 };
798
799 const AF_Script_UniRangeRec af_saur_nonbase_uniranges[] =
800 {
801 AF_UNIRANGE_REC( 0xA880, 0xA881 ),
802 AF_UNIRANGE_REC( 0xA8B4, 0xA8C5 ),
803 AF_UNIRANGE_REC( 0, 0 )
804 };
805
806
807 const AF_Script_UniRangeRec af_shaw_uniranges[] =
|