File tree 4 files changed +0
-25
lines changed
4 files changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -224,12 +224,6 @@ projects:
224
224
dependencies :
225
225
- common_training
226
226
- pvt.cppan.demo.unicode.icu.i18n
227
- options :
228
- any :
229
- link_libraries :
230
- win32 :
231
- private :
232
- - Shlwapi
233
227
234
228
lstmeval :
235
229
files : training/lstmeval.cpp
Original file line number Diff line number Diff line change @@ -196,9 +196,6 @@ target_link_libraries (unicharset_training common_training ${ICU_LIBRARIES
196
196
else ()
197
197
target_link_libraries (unicharset_training common_training pvt.cppan.demo.unicode.icu.i18n)
198
198
endif ()
199
- if (WIN32 )
200
- target_link_libraries (unicharset_training Shlwapi)
201
- endif ()
202
199
project_group (unicharset_training "Training Tools" )
203
200
204
201
Original file line number Diff line number Diff line change 46
46
#include " pango/pangocairo.h"
47
47
#include " pango/pangofc-font.h"
48
48
49
- #ifdef _MSC_VER
50
- #ifndef strcasecmp
51
- #define strcasecmp stricmp
52
- #endif
53
- #include < Shlwapi.h>
54
- #ifndef strcasestr
55
- #define strcasestr StrStrIA
56
- #endif
57
- #endif
58
-
59
49
STRING_PARAM_FLAG (fontconfig_tmpdir, " /tmp" ,
60
50
" Overrides fontconfig default temporary dir" );
61
51
@@ -232,10 +222,6 @@ bool PangoFontInfo::ParseFontDescription(const PangoFontDescription *desc) {
232
222
== PANGO_VARIANT_SMALL_CAPS);
233
223
234
224
is_bold_ = (pango_font_description_get_weight (desc) >= PANGO_WEIGHT_BOLD);
235
- // We don't have a way to detect whether a font is of type Fraktur. The fonts
236
- // we currently use all have "Fraktur" in their family name, so we do a
237
- // fragile but functional check for that here.
238
- is_fraktur_ = (strcasestr (family, " Fraktur" ) != nullptr );
239
225
return true ;
240
226
}
241
227
Original file line number Diff line number Diff line change @@ -109,7 +109,6 @@ class PangoFontInfo {
109
109
bool is_italic () const { return is_italic_; }
110
110
bool is_smallcaps () const { return is_smallcaps_; }
111
111
bool is_monospace () const { return is_monospace_; }
112
- bool is_fraktur () const { return is_fraktur_; }
113
112
FontTypeEnum font_type () const { return font_type_; }
114
113
115
114
int resolution () const { return resolution_; }
@@ -132,7 +131,6 @@ class PangoFontInfo {
132
131
bool is_italic_;
133
132
bool is_smallcaps_;
134
133
bool is_monospace_;
135
- bool is_fraktur_;
136
134
FontTypeEnum font_type_;
137
135
// The Pango description that was used to initialize the instance.
138
136
PangoFontDescription* desc_;
You can’t perform that action at this time.
0 commit comments