Home
last modified time | relevance | path

Searched refs:hmtx (Results 1 – 25 of 910) sorted by relevance

12345678910>>...37

/dports/print/texlive-base/texlive-20150521-source/texk/ttfdump/libttf/
H A Dhmtx.c28 font->hmtx = XCALLOC1 (HMTX); in ttfInitHMTX()
38 USHORT i,n = hmtx->numberOfHMetrics,m=hmtx->numberOfLSB; in ttfLoadHMTX()
70 (hmtx->hMetrics+i)->advanceWidth, in ttfPrintHMTX()
71 (hmtx->hMetrics+i)->lsb); in ttfPrintHMTX()
74 for (i=0;i<hmtx->numberOfLSB;i++) in ttfPrintHMTX()
77 (hmtx->leftSideBearing)[i]); in ttfPrintHMTX()
81 void ttfFreeHMTX(HMTXPtr hmtx) in ttfFreeHMTX() argument
83 free(hmtx->hMetrics); in ttfFreeHMTX()
85 if (hmtx->numberOfLSB) in ttfFreeHMTX()
86 free(hmtx->leftSideBearing); in ttfFreeHMTX()
[all …]
/dports/net/binkd/binkd-1.0.4/os2/
H A Dsem.c63 #define hmtx (*(HMTX*)vpSem) macro
76 if ((rc = DosCreateMutexSem (0, &hmtx, 0, FALSE)) != 0) { in _InitSem()
106 if (hmtx) in _CleanSem()
107 { DosCloseMutexSem (hmtx); in _CleanSem()
108 hmtx = 0; in _CleanSem()
122 if (hmtx == 0) return (-1); in _LockSem()
123 if ((rc = DosRequestMutexSem (hmtx, SEM_INDEFINITE_WAIT)) != 0) { in _LockSem()
137 if (hmtx == 0) return (-1); in _ReleaseSem()
138 DosReleaseMutexSem (hmtx); in _ReleaseSem()
149 if (hmtx == 0) return (-1); in _PostSem()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/ots/src/
H A Dhmtx.cc19 OpenTypeHMTX *hmtx = new OpenTypeHMTX;
20 font->hmtx = hmtx;
27 &font->hhea->header, &hmtx->metrics)) {
35 return font->hmtx != NULL;
39 if (!SerialiseMetricsTable(font, out, &font->hmtx->metrics)) {
46 font->hmtx = other->hmtx;
51 delete font->hmtx;
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/sfntly/cpp/src/test/
H A Dverify_hmtx.cc50 HorizontalMetricsTablePtr hmtx = down_cast<HorizontalMetricsTable*>(table); in VerifyHMTX() local
51 if (hmtx == NULL) { in VerifyHMTX()
55 EXPECT_EQ(hmtx->NumberOfHMetrics(), HMTX_ENTRIES_COUNT); in VerifyHMTX()
56 EXPECT_EQ(hmtx->NumberOfLSBs(), HMTX_LSB_COUNT); in VerifyHMTX()
59 EXPECT_EQ(hmtx->AdvanceWidth(i), HMTX_ENTRIES[i].advance_width_); in VerifyHMTX()
60 EXPECT_EQ(hmtx->LeftSideBearing(i), HMTX_ENTRIES[i].lsb_); in VerifyHMTX()
64 EXPECT_EQ(hmtx->AdvanceWidth(HMTX_ENTRIES_COUNT), in VerifyHMTX()
66 EXPECT_EQ(hmtx->LeftSideBearing(HMTX_ENTRIES_COUNT), HMTX_ENTRIES[0].lsb_); in VerifyHMTX()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/sfntly/cpp/src/test/
H A Dverify_hmtx.cc50 HorizontalMetricsTablePtr hmtx = down_cast<HorizontalMetricsTable*>(table); in VerifyHMTX() local
51 if (hmtx == NULL) { in VerifyHMTX()
55 EXPECT_EQ(hmtx->NumberOfHMetrics(), HMTX_ENTRIES_COUNT); in VerifyHMTX()
56 EXPECT_EQ(hmtx->NumberOfLSBs(), HMTX_LSB_COUNT); in VerifyHMTX()
59 EXPECT_EQ(hmtx->AdvanceWidth(i), HMTX_ENTRIES[i].advance_width_); in VerifyHMTX()
60 EXPECT_EQ(hmtx->LeftSideBearing(i), HMTX_ENTRIES[i].lsb_); in VerifyHMTX()
64 EXPECT_EQ(hmtx->AdvanceWidth(HMTX_ENTRIES_COUNT), in VerifyHMTX()
66 EXPECT_EQ(hmtx->LeftSideBearing(HMTX_ENTRIES_COUNT), HMTX_ENTRIES[0].lsb_); in VerifyHMTX()
/dports/japanese/font-mona/monafont-2.90/ttfsrc/
H A DMakefile116 base-outline-glyf base-outline-loca base-outline-hmtx base-outline-nhmtx \
120 remapped-glyf remapped-loca remapped-hmtx remapped-nhmtx \
148 TTF_TABLES=cmap head hhea hmtx maxp name OS_s2 post \
231 base-outline-hmtx: $(BASE_OUTLINE_TTF)
232 $(TTFCAT) $(BASE_OUTLINE_TTF) hmtx > base-outline-hmtx
260 remapped-hmtx: base-outline-glyf base-outline-loca base-outline-hmtx base-outline-nhmtx base-outlin…
262 base-outline-cmap-unicode.src cmap-unicode.src > remapped-hmtx
281 mona-outline-hmtx: $(MONA_OUTLINE_TTF)
282 $(TTFCAT) $(MONA_OUTLINE_TTF) hmtx > mona-outline-hmtx
297 hmtx: remapped-glyf remapped-loca remapped-hmtx remapped-nhmtx cmap-unicode.src mona-outline-glyf m… target
[all …]
/dports/graphics/mupdf/mupdf-1.18.0-source/source/pdf/
H A Dpdf-metrics.c31 font->hmtx = fz_realloc_array(ctx, font->hmtx, new_cap, pdf_hmtx); in pdf_add_hmtx()
35 font->hmtx[font->hmtx_len].lo = lo; in pdf_add_hmtx()
36 font->hmtx[font->hmtx_len].hi = hi; in pdf_add_hmtx()
37 font->hmtx[font->hmtx_len].w = w; in pdf_add_hmtx()
76 if (!font->hmtx) in pdf_end_hmtx()
78 qsort(font->hmtx, font->hmtx_len, sizeof(pdf_hmtx), cmph); in pdf_end_hmtx()
98 if (!font->hmtx) in pdf_lookup_hmtx()
104 if (cid < font->hmtx[m].lo) in pdf_lookup_hmtx()
106 else if (cid > font->hmtx[m].hi) in pdf_lookup_hmtx()
109 return font->hmtx[m]; in pdf_lookup_hmtx()
/dports/net-mgmt/icingaweb2/icingaweb2-2.8.2/library/vendor/dompdf/lib/php-font-lib/src/FontLib/
H A DAdobeFontMetrics.php98 $hmtx = $font->getData("hmtx");
101 $this->startSection("CharMetrics", count($hmtx));
113 if (!isset($hmtx[$g])) {
114 $hmtx[$g] = $hmtx[0];
119 "WX" => $font->normalizeFUnit($hmtx[$g][0]),
126 if (!isset($hmtx[$g])) {
127 $hmtx[$g] = $hmtx[0];
132 "WX" => $font->normalizeFUnit($hmtx[$g][0]),
/dports/textproc/p5-PDF-API3/PDF-API3-3.001/lib/PDF/API3/Compat/API2/Basic/TTF/
H A DHhea.pm138 my ($hmtx) = $self->{' PARENT'}{'hmtx'};
144 return undef unless (defined $hmtx && defined $self->{' PARENT'}{'loca'});
146 $hmtx->read->update;
151 return undef unless ($hmtx->{' isDirty'} || $self->{' PARENT'}{'loca'}{' isDirty'});
155 $aw = $hmtx->{'advance'}[$i];
156 $lsb = $hmtx->{'lsb'}[$i];
170 $self->{'numberOfHMetrics'} = $hmtx->numMetrics;
/dports/x11-fonts/p5-Font-TTF/Font-TTF-1.06/lib/Font/TTF/
H A DHhea.pm124 my ($hmtx) = $self->{' PARENT'}{'hmtx'};
130 return undef unless (defined $hmtx && defined $self->{' PARENT'}{'loca'});
132 $hmtx->read->update;
139 $aw = $hmtx->{'advance'}[$i];
140 $lsb = $hmtx->{'lsb'}[$i];
154 $self->{'numberOfHMetrics'} = $hmtx->numMetrics;
/dports/www/firefox-esr/firefox-91.8.0/layout/reftests/fonts/gsubtest/
H A Dmakegsubfonts.py94 hmtx = shell["hmtx"]
100 failGlyphMetrics = hmtx["F"]
105 passGlyphMetrics = hmtx["P"]
108 hmtx = shell["hmtx"]
142 hmtx[glyphName] = passGlyphMetrics
165 hmtx[glyphName] = failGlyphMetrics
273 hmtx = shell["hmtx"]
279 failGlyphMetrics = hmtx["F"]
284 passGlyphMetrics = hmtx["P"]
287 hmtx = shell["hmtx"]
[all …]
/dports/www/firefox-esr/firefox-91.8.0/testing/web-platform/tests/css/css-fonts/support/fonts/
H A Dmakegsubfonts.py74 hmtx = shell["hmtx"]
80 failGlyphMetrics = hmtx["F"]
85 passGlyphMetrics = hmtx["P"]
88 hmtx = shell["hmtx"]
122 hmtx[glyphName] = passGlyphMetrics
143 hmtx[glyphName] = failGlyphMetrics
248 hmtx = shell["hmtx"]
254 failGlyphMetrics = hmtx["F"]
259 passGlyphMetrics = hmtx["P"]
262 hmtx = shell["hmtx"]
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/testing/web-platform/tests/css/css-fonts/support/fonts/
H A Dmakegsubfonts.py73 hmtx = shell["hmtx"]
79 failGlyphMetrics = hmtx["F"]
84 passGlyphMetrics = hmtx["P"]
87 hmtx = shell["hmtx"]
121 hmtx[glyphName] = passGlyphMetrics
142 hmtx[glyphName] = failGlyphMetrics
247 hmtx = shell["hmtx"]
253 failGlyphMetrics = hmtx["F"]
258 passGlyphMetrics = hmtx["P"]
261 hmtx = shell["hmtx"]
[all …]
/dports/www/firefox/firefox-99.0/layout/reftests/fonts/gsubtest/
H A Dmakegsubfonts.py94 hmtx = shell["hmtx"]
100 failGlyphMetrics = hmtx["F"]
105 passGlyphMetrics = hmtx["P"]
108 hmtx = shell["hmtx"]
142 hmtx[glyphName] = passGlyphMetrics
165 hmtx[glyphName] = failGlyphMetrics
273 hmtx = shell["hmtx"]
279 failGlyphMetrics = hmtx["F"]
284 passGlyphMetrics = hmtx["P"]
287 hmtx = shell["hmtx"]
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/layout/reftests/fonts/gsubtest/
H A Dmakegsubfonts.py94 hmtx = shell["hmtx"]
100 failGlyphMetrics = hmtx["F"]
105 passGlyphMetrics = hmtx["P"]
108 hmtx = shell["hmtx"]
142 hmtx[glyphName] = passGlyphMetrics
165 hmtx[glyphName] = failGlyphMetrics
273 hmtx = shell["hmtx"]
279 failGlyphMetrics = hmtx["F"]
284 passGlyphMetrics = hmtx["P"]
287 hmtx = shell["hmtx"]
[all …]
/dports/www/firefox/firefox-99.0/testing/web-platform/tests/css/css-fonts/support/fonts/
H A Dmakegsubfonts.py74 hmtx = shell["hmtx"]
80 failGlyphMetrics = hmtx["F"]
85 passGlyphMetrics = hmtx["P"]
88 hmtx = shell["hmtx"]
122 hmtx[glyphName] = passGlyphMetrics
143 hmtx[glyphName] = failGlyphMetrics
248 hmtx = shell["hmtx"]
254 failGlyphMetrics = hmtx["F"]
259 passGlyphMetrics = hmtx["P"]
262 hmtx = shell["hmtx"]
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/testing/web-platform/tests/css/css-fonts/support/fonts/
H A Dmakegsubfonts.py74 hmtx = shell["hmtx"]
80 failGlyphMetrics = hmtx["F"]
85 passGlyphMetrics = hmtx["P"]
88 hmtx = shell["hmtx"]
122 hmtx[glyphName] = passGlyphMetrics
143 hmtx[glyphName] = failGlyphMetrics
248 hmtx = shell["hmtx"]
254 failGlyphMetrics = hmtx["F"]
259 passGlyphMetrics = hmtx["P"]
262 hmtx = shell["hmtx"]
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/layout/reftests/fonts/gsubtest/
H A Dmakegsubfonts.py73 hmtx = shell["hmtx"]
79 failGlyphMetrics = hmtx["F"]
84 passGlyphMetrics = hmtx["P"]
87 hmtx = shell["hmtx"]
121 hmtx[glyphName] = passGlyphMetrics
142 hmtx[glyphName] = failGlyphMetrics
247 hmtx = shell["hmtx"]
253 failGlyphMetrics = hmtx["F"]
258 passGlyphMetrics = hmtx["P"]
261 hmtx = shell["hmtx"]
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/layout/reftests/fonts/gsubtest/
H A Dmakegsubfonts.py73 hmtx = shell["hmtx"]
79 failGlyphMetrics = hmtx["F"]
84 passGlyphMetrics = hmtx["P"]
87 hmtx = shell["hmtx"]
121 hmtx[glyphName] = passGlyphMetrics
142 hmtx[glyphName] = failGlyphMetrics
247 hmtx = shell["hmtx"]
253 failGlyphMetrics = hmtx["F"]
258 passGlyphMetrics = hmtx["P"]
261 hmtx = shell["hmtx"]
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/layout/reftests/fonts/gsubtest/
H A Dmakegsubfonts.py74 hmtx = shell["hmtx"]
80 failGlyphMetrics = hmtx["F"]
85 passGlyphMetrics = hmtx["P"]
88 hmtx = shell["hmtx"]
122 hmtx[glyphName] = passGlyphMetrics
143 hmtx[glyphName] = failGlyphMetrics
248 hmtx = shell["hmtx"]
254 failGlyphMetrics = hmtx["F"]
259 passGlyphMetrics = hmtx["P"]
262 hmtx = shell["hmtx"]
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/testing/web-platform/tests/css/css-fonts/support/fonts/
H A Dmakegsubfonts.py74 hmtx = shell["hmtx"]
80 failGlyphMetrics = hmtx["F"]
85 passGlyphMetrics = hmtx["P"]
88 hmtx = shell["hmtx"]
122 hmtx[glyphName] = passGlyphMetrics
143 hmtx[glyphName] = failGlyphMetrics
248 hmtx = shell["hmtx"]
254 failGlyphMetrics = hmtx["F"]
259 passGlyphMetrics = hmtx["P"]
262 hmtx = shell["hmtx"]
[all …]
/dports/devel/libslang2/slang-2.3.2/src/
H A Dslos2tty.c74 #define DosRequestMutexSem(hmtx,timeout) DosSemRequest(hmtx,timeout)
75 #define DosReleaseMutexSem(hmtx) DosSemClear(hmtx)
76 #define DosCloseMutexSem(hmtx) DosCloseSem(hmtx)
/dports/japanese/libslang/slang-1.4.5jp2/src/
H A Dslos2tty.c60 #define DosRequestMutexSem(hmtx,timeout) DosSemRequest(hmtx,timeout)
61 #define DosReleaseMutexSem(hmtx) DosSemClear(hmtx)
62 #define DosCloseMutexSem(hmtx) DosCloseSem(hmtx)
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/native/libharfbuzz/
H A Dhb-ot-font.cc110 const OT::hmtx_accelerator_t &hmtx = *ot_face->hmtx; in hb_ot_get_glyph_h_advances() local
114 *first_advance = font->em_scale_x (hmtx.get_advance (*first_glyph, font)); in hb_ot_get_glyph_h_advances()
229 const OT::hmtx_accelerator_t &hmtx = *ot_face->hmtx; in hb_ot_get_font_h_extents() local
230 metrics->ascender = font->em_scale_y (hmtx.ascender); in hb_ot_get_font_h_extents()
231 metrics->descender = font->em_scale_y (hmtx.descender); in hb_ot_get_font_h_extents()
232 metrics->line_gap = font->em_scale_y (hmtx.line_gap); in hb_ot_get_font_h_extents()
234 return hmtx.has_font_extents; in hb_ot_get_font_h_extents()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/native/libfontmanager/harfbuzz/
H A Dhb-ot-font.cc110 const OT::hmtx_accelerator_t &hmtx = *ot_face->hmtx; in hb_ot_get_glyph_h_advances() local
114 *first_advance = font->em_scale_x (hmtx.get_advance (*first_glyph, font)); in hb_ot_get_glyph_h_advances()
229 const OT::hmtx_accelerator_t &hmtx = *ot_face->hmtx; in hb_ot_get_font_h_extents() local
230 metrics->ascender = font->em_scale_y (hmtx.ascender); in hb_ot_get_font_h_extents()
231 metrics->descender = font->em_scale_y (hmtx.descender); in hb_ot_get_font_h_extents()
232 metrics->line_gap = font->em_scale_y (hmtx.line_gap); in hb_ot_get_font_h_extents()
234 return hmtx.has_font_extents; in hb_ot_get_font_h_extents()

12345678910>>...37