Home
last modified time | relevance | path

Searched refs:aGID (Results 26 – 50 of 67) sorted by relevance

123

/dports/www/firefox-esr/firefox-91.8.0/gfx/thebes/
H A DgfxMacFont.h38 int32_t GetGlyphWidth(uint16_t aGID) override;
40 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override;
H A DgfxMacFont.cpp482 int32_t gfxMacFont::GetGlyphWidth(uint16_t aGID) { in GetGlyphWidth() argument
488 if (::CGFontGetGlyphAdvances(mCGFont, &aGID, 1, &cgAdvance)) { in GetGlyphWidth()
505 ::CTFontGetAdvancesForGlyphs(mCTFont, kCTFontOrientationDefault, &aGID, in GetGlyphWidth()
510 bool gfxMacFont::GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) { in GetGlyphBounds() argument
512 if (!::CGFontGetGlyphBBoxes(mCGFont, &aGID, 1, &bb)) { in GetGlyphBounds()
H A DgfxDWriteFonts.cpp497 int32_t gfxDWriteFont::GetGlyphWidth(uint16_t aGID) { in GetGlyphWidth() argument
503 aGID, [&] { return NS_lround(MeasureGlyphWidth(aGID) * 65536.0); }); in GetGlyphWidth()
572 bool gfxDWriteFont::GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, in GetGlyphBounds() argument
575 HRESULT hr = mFontFace->GetDesignGlyphMetrics(&aGID, 1, &m, FALSE); in GetGlyphBounds()
/dports/www/firefox/firefox-99.0/gfx/thebes/
H A DgfxDWriteFonts.h60 int32_t GetGlyphWidth(uint16_t aGID) override;
62 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override;
H A DgfxMacFont.cpp493 int32_t gfxMacFont::GetGlyphWidth(uint16_t aGID) { in GetGlyphWidth() argument
499 if (::CGFontGetGlyphAdvances(mCGFont, &aGID, 1, &cgAdvance)) { in GetGlyphWidth()
516 ::CTFontGetAdvancesForGlyphs(mCTFont, kCTFontOrientationDefault, &aGID, in GetGlyphWidth()
521 bool gfxMacFont::GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) { in GetGlyphBounds() argument
523 if (!::CGFontGetGlyphBBoxes(mCGFont, &aGID, 1, &bb)) { in GetGlyphBounds()
H A DgfxDWriteFonts.cpp672 int32_t gfxDWriteFont::GetGlyphWidth(uint16_t aGID) { in GetGlyphWidth() argument
678 aGID, [&] { return NS_lround(MeasureGlyphWidth(aGID) * 65536.0); }); in GetGlyphWidth()
745 bool gfxDWriteFont::GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, in GetGlyphBounds() argument
748 HRESULT hr = mFontFace->GetDesignGlyphMetrics(&aGID, 1, &m, FALSE); in GetGlyphBounds()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/thebes/
H A DgfxMacFont.h38 int32_t GetGlyphWidth(uint16_t aGID) override;
40 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override;
H A DgfxMacFont.cpp482 int32_t gfxMacFont::GetGlyphWidth(uint16_t aGID) { in GetGlyphWidth() argument
488 if (::CGFontGetGlyphAdvances(mCGFont, &aGID, 1, &cgAdvance)) { in GetGlyphWidth()
505 ::CTFontGetAdvancesForGlyphs(mCTFont, kCTFontOrientationDefault, &aGID, in GetGlyphWidth()
510 bool gfxMacFont::GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) { in GetGlyphBounds() argument
512 if (!::CGFontGetGlyphBBoxes(mCGFont, &aGID, 1, &bb)) { in GetGlyphBounds()
H A DgfxDWriteFonts.cpp497 int32_t gfxDWriteFont::GetGlyphWidth(uint16_t aGID) { in GetGlyphWidth() argument
503 aGID, [&] { return NS_lround(MeasureGlyphWidth(aGID) * 65536.0); }); in GetGlyphWidth()
572 bool gfxDWriteFont::GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, in GetGlyphBounds() argument
575 HRESULT hr = mFontFace->GetDesignGlyphMetrics(&aGID, 1, &m, FALSE); in GetGlyphBounds()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/thebes/
H A DgfxMacFont.cpp440 int32_t gfxMacFont::GetGlyphWidth(uint16_t aGID) { in GetGlyphWidth() argument
446 if (::CGFontGetGlyphAdvances(mCGFont, &aGID, 1, &cgAdvance)) { in GetGlyphWidth()
463 ::CTFontGetAdvancesForGlyphs(mCTFont, kCTFontDefaultOrientation, &aGID, in GetGlyphWidth()
468 bool gfxMacFont::GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) { in GetGlyphBounds() argument
470 if (!::CGFontGetGlyphBBoxes(mCGFont, &aGID, 1, &bb)) { in GetGlyphBounds()
H A DgfxDWriteFonts.cpp469 int32_t gfxDWriteFont::GetGlyphWidth(uint16_t aGID) { in GetGlyphWidth() argument
475 if (mGlyphWidths->Get(aGID, &width)) { in GetGlyphWidth()
479 width = NS_lround(MeasureGlyphWidth(aGID) * 65536.0); in GetGlyphWidth()
480 mGlyphWidths->Put(aGID, width); in GetGlyphWidth()
550 bool gfxDWriteFont::GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, in GetGlyphBounds() argument
553 HRESULT hr = mFontFace->GetDesignGlyphMetrics(&aGID, 1, &m, FALSE); in GetGlyphBounds()
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/thebes/
H A DgfxFT2FontBase.cpp172 gfxFT2FontBase::GetGlyphWidth(DrawTarget& aDrawTarget, uint16_t aGID) in GetGlyphWidth() argument
175 GetGlyphExtents(aGID, &extents); in GetGlyphWidth()
H A DgfxGDIFont.cpp520 gfxGDIFont::GetGlyphWidth(DrawTarget& aDrawTarget, uint16_t aGID) in GetGlyphWidth() argument
527 if (mGlyphWidths->Get(aGID, &width)) { in GetGlyphWidth()
535 if (GetCharWidthI(dc, aGID, 1, nullptr, &devWidth)) { in GetGlyphWidth()
539 mGlyphWidths->Put(aGID, width); in GetGlyphWidth()
H A DgfxDWriteFonts.cpp584 gfxDWriteFont::GetGlyphWidth(DrawTarget& aDrawTarget, uint16_t aGID) in GetGlyphWidth() argument
591 if (mGlyphWidths->Get(aGID, &width)) { in GetGlyphWidth()
595 width = NS_lround(MeasureGlyphWidth(aGID) * 65536.0); in GetGlyphWidth()
596 mGlyphWidths->Put(aGID, width); in GetGlyphWidth()
H A DgfxFT2FontBase.h30 uint16_t aGID) override;
H A DgfxDWriteFonts.h57 uint16_t aGID) override;
H A DgfxMacFont.h49 uint16_t aGID) override;
H A DgfxGDIFont.h64 uint16_t aGID) override;
H A DgfxMacFont.cpp375 gfxMacFont::GetGlyphWidth(DrawTarget& aDrawTarget, uint16_t aGID) in GetGlyphWidth() argument
387 ::CTFontGetAdvancesForGlyphs(mCTFont, kCTFontDefaultOrientation, &aGID, in GetGlyphWidth()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/thebes/
H A DgfxGDIFont.cpp479 int32_t gfxGDIFont::GetGlyphWidth(DrawTarget &aDrawTarget, uint16_t aGID) { in GetGlyphWidth() argument
485 if (mGlyphWidths->Get(aGID, &width)) { in GetGlyphWidth()
493 if (GetCharWidthI(dc, aGID, 1, nullptr, &devWidth)) { in GetGlyphWidth()
497 mGlyphWidths->Put(aGID, width); in GetGlyphWidth()
H A DgfxDWriteFonts.cpp522 int32_t gfxDWriteFont::GetGlyphWidth(DrawTarget& aDrawTarget, uint16_t aGID) { in GetGlyphWidth() argument
528 if (mGlyphWidths->Get(aGID, &width)) { in GetGlyphWidth()
532 width = NS_lround(MeasureGlyphWidth(aGID) * 65536.0); in GetGlyphWidth()
533 mGlyphWidths->Put(aGID, width); in GetGlyphWidth()
H A DgfxMacFont.h48 int32_t GetGlyphWidth(DrawTarget &aDrawTarget, uint16_t aGID) override;
H A DgfxDWriteFonts.h57 uint16_t aGID) override;
H A DgfxGDIFont.h61 uint16_t aGID) override;
H A DgfxMacFont.cpp425 int32_t gfxMacFont::GetGlyphWidth(DrawTarget &aDrawTarget, uint16_t aGID) { in GetGlyphWidth() argument
435 ::CTFontGetAdvancesForGlyphs(mCTFont, kCTFontDefaultOrientation, &aGID, in GetGlyphWidth()

123