sft.hxx (0d63794c) sft.hxx (fc9fd3f1)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 95 unchanged lines hidden (view full) ---

104 FW_MEDIUM = 500, /**< Medium */
105 FW_SEMIBOLD = 600, /**< Semi-bold (Demi-bold) */
106 FW_BOLD = 700, /**< Bold */
107 FW_EXTRABOLD = 800, /**< Extra-bold (Ultra-bold) */
108 FW_BLACK = 900 /**< Black (Heavy) */
109 };
110
111/** Value of the width member of the TTGlobalFontInfo struct */
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 95 unchanged lines hidden (view full) ---

104 FW_MEDIUM = 500, /**< Medium */
105 FW_SEMIBOLD = 600, /**< Semi-bold (Demi-bold) */
106 FW_BOLD = 700, /**< Bold */
107 FW_EXTRABOLD = 800, /**< Extra-bold (Ultra-bold) */
108 FW_BLACK = 900 /**< Black (Heavy) */
109 };
110
111/** Value of the width member of the TTGlobalFontInfo struct */
112#ifndef OS2
112#ifndef FWIDTH_DONT_CARE // OS2
113 enum WidthClass {
114 FWIDTH_ULTRA_CONDENSED = 1, /**< 50% of normal */
115 FWIDTH_EXTRA_CONDENSED = 2, /**< 62.5% of normal */
116 FWIDTH_CONDENSED = 3, /**< 75% of normal */
117 FWIDTH_SEMI_CONDENSED = 4, /**< 87.5% of normal */
118 FWIDTH_NORMAL = 5, /**< Medium, 100% */
119 FWIDTH_SEMI_EXPANDED = 6, /**< 112.5% of normal */
120 FWIDTH_EXPANDED = 7, /**< 125% of normal */
121 FWIDTH_EXTRA_EXPANDED = 8, /**< 150% of normal */
122 FWIDTH_ULTRA_EXPANDED = 9 /**< 200% of normal */
123 };
113 enum WidthClass {
114 FWIDTH_ULTRA_CONDENSED = 1, /**< 50% of normal */
115 FWIDTH_EXTRA_CONDENSED = 2, /**< 62.5% of normal */
116 FWIDTH_CONDENSED = 3, /**< 75% of normal */
117 FWIDTH_SEMI_CONDENSED = 4, /**< 87.5% of normal */
118 FWIDTH_NORMAL = 5, /**< Medium, 100% */
119 FWIDTH_SEMI_EXPANDED = 6, /**< 112.5% of normal */
120 FWIDTH_EXPANDED = 7, /**< 125% of normal */
121 FWIDTH_EXTRA_EXPANDED = 8, /**< 150% of normal */
122 FWIDTH_ULTRA_EXPANDED = 9 /**< 200% of normal */
123 };
124#endif // OS2
124#endif // FWIDTH_DONT_CARE
125#endif /* FW_THIN */
126
127/** Type of the 'kern' table, stored in _TrueTypeFont::kerntype */
128 enum KernType {
129 KT_NONE = 0, /**< no kern table */
130 KT_APPLE_NEW = 1, /**< new Apple kern table */
131 KT_MICROSOFT = 2 /**< Microsoft table */
132 };

--- 496 unchanged lines hidden ---
125#endif /* FW_THIN */
126
127/** Type of the 'kern' table, stored in _TrueTypeFont::kerntype */
128 enum KernType {
129 KT_NONE = 0, /**< no kern table */
130 KT_APPLE_NEW = 1, /**< new Apple kern table */
131 KT_MICROSOFT = 2 /**< Microsoft table */
132 };

--- 496 unchanged lines hidden ---