File tree 2 files changed +0
-5
lines changed
2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,6 @@ void PangoFontInfo::Clear() {
90
90
font_size_ = 0 ;
91
91
is_bold_ = false ;
92
92
is_italic_ = false ;
93
- is_smallcaps_ = false ;
94
93
family_name_.clear ();
95
94
font_type_ = UNKNOWN;
96
95
if (desc_) {
@@ -193,8 +192,6 @@ bool PangoFontInfo::ParseFontDescription(const PangoFontDescription *desc) {
193
192
PangoStyle style = pango_font_description_get_style (desc);
194
193
is_italic_ = (PANGO_STYLE_ITALIC == style ||
195
194
PANGO_STYLE_OBLIQUE == style);
196
- is_smallcaps_ = (pango_font_description_get_variant (desc)
197
- == PANGO_VARIANT_SMALL_CAPS);
198
195
199
196
is_bold_ = (pango_font_description_get_weight (desc) >= PANGO_WEIGHT_BOLD);
200
197
return true ;
Original file line number Diff line number Diff line change @@ -107,7 +107,6 @@ class PangoFontInfo {
107
107
int font_size () const { return font_size_; }
108
108
bool is_bold () const { return is_bold_; }
109
109
bool is_italic () const { return is_italic_; }
110
- bool is_smallcaps () const { return is_smallcaps_; }
111
110
FontTypeEnum font_type () const { return font_type_; }
112
111
113
112
int resolution () const { return resolution_; }
@@ -128,7 +127,6 @@ class PangoFontInfo {
128
127
int font_size_;
129
128
bool is_bold_;
130
129
bool is_italic_;
131
- bool is_smallcaps_;
132
130
FontTypeEnum font_type_;
133
131
// The Pango description that was used to initialize the instance.
134
132
PangoFontDescription* desc_;
You can’t perform that action at this time.
0 commit comments