File tree 2 files changed +0
-4
lines changed
2 files changed +0
-4
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_bold_ = false ;
92
91
is_italic_ = false ;
93
92
family_name_.clear ();
94
93
font_type_ = UNKNOWN;
@@ -193,7 +192,6 @@ bool PangoFontInfo::ParseFontDescription(const PangoFontDescription *desc) {
193
192
is_italic_ = (PANGO_STYLE_ITALIC == style ||
194
193
PANGO_STYLE_OBLIQUE == style);
195
194
196
- is_bold_ = (pango_font_description_get_weight (desc) >= PANGO_WEIGHT_BOLD);
197
195
return true ;
198
196
}
199
197
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_bold () const { return is_bold_; }
109
108
bool is_italic () const { return is_italic_; }
110
109
FontTypeEnum font_type () const { return font_type_; }
111
110
@@ -125,7 +124,6 @@ class PangoFontInfo {
125
124
// Font properties set automatically from parsing the font description name.
126
125
string family_name_;
127
126
int font_size_;
128
- bool is_bold_;
129
127
bool is_italic_;
130
128
FontTypeEnum font_type_;
131
129
// The Pango description that was used to initialize the instance.
You can’t perform that action at this time.
0 commit comments