File tree 2 files changed +0
-7
lines changed
2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ PangoFontInfo::PangoFontInfo(const string& desc)
88
88
89
89
void PangoFontInfo::Clear () {
90
90
font_size_ = 0 ;
91
- is_italic_ = false ;
92
91
family_name_.clear ();
93
92
font_type_ = UNKNOWN;
94
93
if (desc_) {
@@ -188,10 +187,6 @@ bool PangoFontInfo::ParseFontDescription(const PangoFontDescription *desc) {
188
187
font_size_ /= PANGO_SCALE;
189
188
}
190
189
191
- PangoStyle style = pango_font_description_get_style (desc);
192
- is_italic_ = (PANGO_STYLE_ITALIC == style ||
193
- PANGO_STYLE_OBLIQUE == style);
194
-
195
190
return true ;
196
191
}
197
192
Original file line number Diff line number Diff line change @@ -105,7 +105,6 @@ class PangoFontInfo {
105
105
const string& family_name () const { return family_name_; }
106
106
// Size in points (1/72"), rounded to the nearest integer.
107
107
int font_size () const { return font_size_; }
108
- bool is_italic () const { return is_italic_; }
109
108
FontTypeEnum font_type () const { return font_type_; }
110
109
111
110
int resolution () const { return resolution_; }
@@ -124,7 +123,6 @@ class PangoFontInfo {
124
123
// Font properties set automatically from parsing the font description name.
125
124
string family_name_;
126
125
int font_size_;
127
- bool is_italic_;
128
126
FontTypeEnum font_type_;
129
127
// The Pango description that was used to initialize the instance.
130
128
PangoFontDescription* desc_;
You can’t perform that action at this time.
0 commit comments