/dports/www/firefox-esr/firefox-91.8.0/gfx/ots/src/ |
H A D | metrics.cc | 72 if (!table.ReadU16(&this->num_metrics)) { in Parse() 82 if (this->num_metrics > maxp->num_glyphs) { in Parse() 83 return Error("Bad number of metrics %d", this->num_metrics); in Parse() 103 !out->WriteU16(this->num_metrics)) { in Serialize() 122 const unsigned num_metrics = header->num_metrics; in Parse() local 129 if (num_metrics > maxp->num_glyphs) { in Parse() 130 return Error("Bad number of metrics %d", num_metrics); in Parse() 132 if (!num_metrics) { in Parse() 135 const unsigned num_sbs = maxp->num_glyphs - num_metrics; in Parse() 137 this->entries.reserve(num_metrics); in Parse() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/ots/src/ |
H A D | metrics.cc | 72 if (!table.ReadU16(&this->num_metrics)) { in Parse() 82 if (this->num_metrics > maxp->num_glyphs) { in Parse() 83 return Error("Bad number of metrics %d", this->num_metrics); in Parse() 103 !out->WriteU16(this->num_metrics)) { in Serialize() 122 const unsigned num_metrics = header->num_metrics; in Parse() local 129 if (num_metrics > maxp->num_glyphs) { in Parse() 130 return Error("Bad number of metrics %d", num_metrics); in Parse() 132 if (!num_metrics) { in Parse() 135 const unsigned num_sbs = maxp->num_glyphs - num_metrics; in Parse() 137 this->entries.reserve(num_metrics); in Parse() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ots/src/ |
H A D | metrics.cc | 72 if (!table.ReadU16(&this->num_metrics)) { in Parse() 82 if (this->num_metrics > maxp->num_glyphs) { in Parse() 83 return Error("Bad number of metrics %d", this->num_metrics); in Parse() 103 !out->WriteU16(this->num_metrics)) { in Serialize() 122 const unsigned num_metrics = header->num_metrics; in Parse() local 129 if (num_metrics > maxp->num_glyphs) { in Parse() 130 return Error("Bad number of metrics %d", num_metrics); in Parse() 132 if (!num_metrics) { in Parse() 135 const unsigned num_sbs = maxp->num_glyphs - num_metrics; in Parse() 137 this->entries.reserve(num_metrics); in Parse() [all …]
|
/dports/www/firefox/firefox-99.0/gfx/ots/src/ |
H A D | metrics.cc | 72 if (!table.ReadU16(&this->num_metrics)) { in Parse() 82 if (this->num_metrics > maxp->num_glyphs) { in Parse() 83 return Error("Bad number of metrics %d", this->num_metrics); in Parse() 103 !out->WriteU16(this->num_metrics)) { in Serialize() 122 const unsigned num_metrics = header->num_metrics; in Parse() local 129 if (num_metrics > maxp->num_glyphs) { in Parse() 130 return Error("Bad number of metrics %d", num_metrics); in Parse() 132 if (!num_metrics) { in Parse() 135 const unsigned num_sbs = maxp->num_glyphs - num_metrics; in Parse() 137 this->entries.reserve(num_metrics); in Parse() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/ots/src/ |
H A D | metrics.cc | 72 if (!table.ReadU16(&this->num_metrics)) { in Parse() 82 if (this->num_metrics > maxp->num_glyphs) { in Parse() 83 return Error("Bad number of metrics %d", this->num_metrics); in Parse() 103 !out->WriteU16(this->num_metrics)) { in Serialize() 122 const unsigned num_metrics = header->num_metrics; in Parse() local 129 if (num_metrics > maxp->num_glyphs) { in Parse() 130 return Error("Bad number of metrics %d", num_metrics); in Parse() 132 if (!num_metrics) { in Parse() 135 const unsigned num_sbs = maxp->num_glyphs - num_metrics; in Parse() 137 this->entries.reserve(num_metrics); in Parse() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ots/src/ |
H A D | metrics.cc | 72 if (!table.ReadU16(&this->num_metrics)) { in Parse() 82 if (this->num_metrics > maxp->num_glyphs) { in Parse() 83 return Error("Bad number of metrics %d", this->num_metrics); in Parse() 103 !out->WriteU16(this->num_metrics)) { in Serialize() 122 const unsigned num_metrics = header->num_metrics; in Parse() local 129 if (num_metrics > maxp->num_glyphs) { in Parse() 130 return Error("Bad number of metrics %d", num_metrics); in Parse() 132 if (!num_metrics) { in Parse() 135 const unsigned num_sbs = maxp->num_glyphs - num_metrics; in Parse() 137 this->entries.reserve(num_metrics); in Parse() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/ots/src/ |
H A D | metrics.cc | 72 if (!table.ReadU16(&this->num_metrics)) { in Parse() 82 if (this->num_metrics > maxp->num_glyphs) { in Parse() 83 return Error("Bad number of metrics %d", this->num_metrics); in Parse() 103 !out->WriteU16(this->num_metrics)) { in Serialize() 122 const unsigned num_metrics = header->num_metrics; in Parse() local 129 if (num_metrics > maxp->num_glyphs) { in Parse() 130 return Error("Bad number of metrics %d", num_metrics); in Parse() 132 if (!num_metrics) { in Parse() 135 const unsigned num_sbs = maxp->num_glyphs - num_metrics; in Parse() 137 this->entries.reserve(num_metrics); in Parse() [all …]
|
/dports/x11-fonts/ots/ots-8.1.4/src/ |
H A D | metrics.cc | 72 if (!table.ReadU16(&this->num_metrics)) { in Parse() 82 if (this->num_metrics > maxp->num_glyphs) { in Parse() 83 return Error("Bad number of metrics %d", this->num_metrics); in Parse() 103 !out->WriteU16(this->num_metrics)) { in Serialize() 122 const unsigned num_metrics = header->num_metrics; in Parse() local 129 if (num_metrics > maxp->num_glyphs) { in Parse() 130 return Error("Bad number of metrics %d", num_metrics); in Parse() 132 if (!num_metrics) { in Parse() 135 const unsigned num_sbs = maxp->num_glyphs - num_metrics; in Parse() 137 this->entries.reserve(num_metrics); in Parse() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/ots/src/ |
H A D | metrics.cc | 66 if (!table->ReadU16(&header->num_metrics)) { in ParseMetricsHeader() 74 if (header->num_metrics > font->maxp->num_glyphs) { in ParseMetricsHeader() 75 return OTS_FAILURE_MSG("Bad number of metrics %d", header->num_metrics); in ParseMetricsHeader() 97 !out->WriteU16(header->num_metrics)) { in SerialiseMetricsHeader() 111 const unsigned num_metrics = header->num_metrics; in ParseMetricsTable() local 113 if (num_metrics > num_glyphs) { in ParseMetricsTable() 114 return OTS_FAILURE_MSG("Bad number of metrics %d", num_metrics); in ParseMetricsTable() 116 if (!num_metrics) { in ParseMetricsTable() 119 const unsigned num_sbs = num_glyphs - num_metrics; in ParseMetricsTable() 121 metrics->entries.reserve(num_metrics); in ParseMetricsTable() [all …]
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/rustybuzz-0.1.1/harfbuzz/src/ |
H A D | hb-ot-hmtx-table.hh | 85 num_metrics = num_advances + (len - 4 * num_advances) / 2; in init() 90 num_metrics = num_advances = 0; in init() 109 if (unlikely(glyph >= num_metrics)) in get_side_bearing() 121 if (unlikely(glyph >= num_metrics) || !font->num_coords) in get_side_bearing() 136 if (unlikely(glyph >= num_metrics)) { in get_advance() 140 if (num_metrics) in get_advance() 154 if (unlikely(glyph >= num_metrics) || !font->num_coords) in get_advance() 167 unsigned int num_metrics; member
|
/dports/www/p5-HTML5-DOM/HTML5-DOM-1.25/third_party/modest/source/myfont/ |
H A D | vmtx.c | 35 uint16_t num_metrics = mf->table_vhea.numOfLongVerMetrics; in myfont_load_table_vmtx() local 37 if(num_metrics == 0) in myfont_load_table_vmtx() 40 uint32_t pos = table_offset + (num_metrics * 4); in myfont_load_table_vmtx() 44 …_metric_t *lver_metric = (myfont_long_ver_metric_t *)myfont_calloc(mf, num_metrics, sizeof(myfont_… in myfont_load_table_vmtx() 49 for(uint16_t i = 0; i < num_metrics; i++) { in myfont_load_table_vmtx() 75 for(uint16_t i = 0; i < num_metrics; i++) { in myfont_load_table_vmtx()
|
H A D | hmtx.c | 35 uint16_t num_metrics = mf->table_hhea.numberOfHMetrics; in myfont_load_table_hmtx() local 37 if(num_metrics == 0) in myfont_load_table_hmtx() 40 if(data_size < (table_offset + (num_metrics * 2))) in myfont_load_table_hmtx() 43 …_metric_t *lhor_metric = (myfont_long_hor_metric_t *)myfont_calloc(mf, num_metrics, sizeof(myfont_… in myfont_load_table_hmtx() 48 for(uint16_t i = 0; i < num_metrics; i++) { in myfont_load_table_hmtx()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/native/libharfbuzz/ |
H A D | hb-ot-hmtx-table.hh | 113 … %d advances, %d lsbs", HB_UNTAG(T::tableTag), _mtx.num_advances, _mtx.num_metrics - _mtx.num_adva… in subset() 143 if (gids[i] >= _mtx.num_metrics) in subset() 146 gids[i], _mtx.num_metrics); in subset() 223 num_metrics = num_advances + (len - 4 * num_advances) / 2; in init() 229 num_metrics = num_advances = 0; in init() 249 if (unlikely (glyph >= num_metrics)) in get_side_bearing() 258 if (unlikely (glyph >= num_metrics)) in get_advance() 263 if (num_metrics) in get_advance() 276 if (likely (glyph < num_metrics)) in get_advance() 290 unsigned int num_metrics; member
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/native/libfontmanager/harfbuzz/ |
H A D | hb-ot-hmtx-table.hh | 113 … %d advances, %d lsbs", HB_UNTAG(T::tableTag), _mtx.num_advances, _mtx.num_metrics - _mtx.num_adva… in subset() 143 if (gids[i] >= _mtx.num_metrics) in subset() 146 gids[i], _mtx.num_metrics); in subset() 223 num_metrics = num_advances + (len - 4 * num_advances) / 2; in init() 229 num_metrics = num_advances = 0; in init() 249 if (unlikely (glyph >= num_metrics)) in get_side_bearing() 258 if (unlikely (glyph >= num_metrics)) in get_advance() 263 if (num_metrics) in get_advance() 276 if (likely (glyph < num_metrics)) in get_advance() 290 unsigned int num_metrics; member
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/native/libharfbuzz/ |
H A D | hb-ot-hmtx-table.hh | 113 … %d advances, %d lsbs", HB_UNTAG(T::tableTag), _mtx.num_advances, _mtx.num_metrics - _mtx.num_adva… in subset() 143 if (gids[i] >= _mtx.num_metrics) in subset() 146 gids[i], _mtx.num_metrics); in subset() 223 num_metrics = num_advances + (len - 4 * num_advances) / 2; in init() 229 num_metrics = num_advances = 0; in init() 249 if (unlikely (glyph >= num_metrics)) in get_side_bearing() 258 if (unlikely (glyph >= num_metrics)) in get_advance() 263 if (num_metrics) in get_advance() 276 if (likely (glyph < num_metrics)) in get_advance() 290 unsigned int num_metrics; member
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/native/libfontmanager/harfbuzz/ |
H A D | hb-ot-hmtx-table.hh | 113 … %d advances, %d lsbs", HB_UNTAG(T::tableTag), _mtx.num_advances, _mtx.num_metrics - _mtx.num_adva… in subset() 143 if (gids[i] >= _mtx.num_metrics) in subset() 146 gids[i], _mtx.num_metrics); in subset() 223 num_metrics = num_advances + (len - 4 * num_advances) / 2; in init() 229 num_metrics = num_advances = 0; in init() 249 if (unlikely (glyph >= num_metrics)) in get_side_bearing() 258 if (unlikely (glyph >= num_metrics)) in get_advance() 263 if (num_metrics) in get_advance() 276 if (likely (glyph < num_metrics)) in get_advance() 290 unsigned int num_metrics; member
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/share/native/libfontmanager/harfbuzz/ |
H A D | hb-ot-hmtx-table.hh | 113 … %d advances, %d lsbs", HB_UNTAG(T::tableTag), _mtx.num_advances, _mtx.num_metrics - _mtx.num_adva… in subset() 143 if (gids[i] >= _mtx.num_metrics) in subset() 146 gids[i], _mtx.num_metrics); in subset() 223 num_metrics = num_advances + (len - 4 * num_advances) / 2; in init() 229 num_metrics = num_advances = 0; in init() 249 if (unlikely (glyph >= num_metrics)) in get_side_bearing() 258 if (unlikely (glyph >= num_metrics)) in get_advance() 263 if (num_metrics) in get_advance() 276 if (likely (glyph < num_metrics)) in get_advance() 290 unsigned int num_metrics; member
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/share/native/libfontmanager/harfbuzz/ |
H A D | hb-ot-hmtx-table.hh | 113 … %d advances, %d lsbs", HB_UNTAG(T::tableTag), _mtx.num_advances, _mtx.num_metrics - _mtx.num_adva… in subset() 143 if (gids[i] >= _mtx.num_metrics) in subset() 146 gids[i], _mtx.num_metrics); in subset() 223 num_metrics = num_advances + (len - 4 * num_advances) / 2; in init() 229 num_metrics = num_advances = 0; in init() 249 if (unlikely (glyph >= num_metrics)) in get_side_bearing() 258 if (unlikely (glyph >= num_metrics)) in get_advance() 263 if (num_metrics) in get_advance() 276 if (likely (glyph < num_metrics)) in get_advance() 290 unsigned int num_metrics; member
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/harfbuzz/src/ |
H A D | hb-ot-hmtx-table.hh | 176 num_metrics = num_advances + (len - 4 * num_advances) / 2; in init() 182 num_metrics = num_advances = 0; in init() 201 if (unlikely (glyph >= num_metrics)) in get_side_bearing() 213 if (unlikely (glyph >= num_metrics) || !font->num_coords) in get_side_bearing() 227 if (unlikely (glyph >= num_metrics)) in get_advance() 232 if (num_metrics) in get_advance() 247 if (unlikely (glyph >= num_metrics) || !font->num_coords) in get_advance() 286 unsigned int num_metrics; member
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/harfbuzz/src/ |
H A D | hb-ot-hmtx-table.hh | 178 num_metrics = num_advances + (len - 4 * num_advances) / 2; in init() 184 num_metrics = num_advances = 0; in init() 203 if (unlikely (glyph >= num_metrics)) in get_side_bearing() 215 if (unlikely (glyph >= num_metrics) || !font->num_coords) in get_side_bearing() 229 if (unlikely (glyph >= num_metrics)) in get_advance() 234 if (num_metrics) in get_advance() 249 if (unlikely (glyph >= num_metrics) || !font->num_coords) in get_advance() 288 unsigned int num_metrics; member
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/harfbuzz-ng/src/src/ |
H A D | hb-ot-hmtx-table.hh | 178 num_metrics = num_advances + (len - 4 * num_advances) / 2; in init() 184 num_metrics = num_advances = 0; in init() 203 if (unlikely (glyph >= num_metrics)) in get_side_bearing() 215 if (unlikely (glyph >= num_metrics) || !font->num_coords) in get_side_bearing() 229 if (unlikely (glyph >= num_metrics)) in get_advance() 234 if (num_metrics) in get_advance() 249 if (unlikely (glyph >= num_metrics) || !font->num_coords) in get_advance() 288 unsigned int num_metrics; member
|
/dports/www/firefox/firefox-99.0/gfx/harfbuzz/src/ |
H A D | hb-ot-hmtx-table.hh | 192 num_metrics = num_advances + (len - 4 * num_advances) / 2; in accelerator_t() 198 num_metrics = num_advances = 0; in accelerator_t() 216 if (unlikely (glyph >= num_metrics)) in get_side_bearing() 228 if (unlikely (glyph >= num_metrics) || !font->num_coords) in get_side_bearing() 242 if (unlikely (glyph >= num_metrics)) in get_advance() 247 if (num_metrics) in get_advance() 262 if (unlikely (glyph >= num_metrics) || !font->num_coords) in get_advance() 275 unsigned int num_metrics; member
|
/dports/print/harfbuzz/harfbuzz-3.4.0/src/ |
H A D | hb-ot-hmtx-table.hh | 192 num_metrics = num_advances + (len - 4 * num_advances) / 2; in accelerator_t() 198 num_metrics = num_advances = 0; in accelerator_t() 216 if (unlikely (glyph >= num_metrics)) in get_side_bearing() 228 if (unlikely (glyph >= num_metrics) || !font->num_coords) in get_side_bearing() 242 if (unlikely (glyph >= num_metrics)) in get_advance() 247 if (num_metrics) in get_advance() 262 if (unlikely (glyph >= num_metrics) || !font->num_coords) in get_advance() 275 unsigned int num_metrics; member
|
/dports/print/harfbuzz-hb-view/harfbuzz-3.4.0/src/ |
H A D | hb-ot-hmtx-table.hh | 192 num_metrics = num_advances + (len - 4 * num_advances) / 2; in accelerator_t() 198 num_metrics = num_advances = 0; in accelerator_t() 216 if (unlikely (glyph >= num_metrics)) in get_side_bearing() 228 if (unlikely (glyph >= num_metrics) || !font->num_coords) in get_side_bearing() 242 if (unlikely (glyph >= num_metrics)) in get_advance() 247 if (num_metrics) in get_advance() 262 if (unlikely (glyph >= num_metrics) || !font->num_coords) in get_advance() 275 unsigned int num_metrics; member
|
/dports/print/harfbuzz-icu/harfbuzz-3.4.0/src/ |
H A D | hb-ot-hmtx-table.hh | 192 num_metrics = num_advances + (len - 4 * num_advances) / 2; in accelerator_t() 198 num_metrics = num_advances = 0; in accelerator_t() 216 if (unlikely (glyph >= num_metrics)) in get_side_bearing() 228 if (unlikely (glyph >= num_metrics) || !font->num_coords) in get_side_bearing() 242 if (unlikely (glyph >= num_metrics)) in get_advance() 247 if (num_metrics) in get_advance() 262 if (unlikely (glyph >= num_metrics) || !font->num_coords) in get_advance() 275 unsigned int num_metrics; member
|