/dports/www/firefox-esr/firefox-91.8.0/gfx/thebes/ |
H A D | gfxMacFont.h | 38 int32_t GetGlyphWidth(uint16_t aGID) override; 40 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override;
|
H A D | gfxMacFont.cpp | 482 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 D | gfxDWriteFonts.cpp | 497 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 D | gfxDWriteFonts.h | 60 int32_t GetGlyphWidth(uint16_t aGID) override; 62 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override;
|
H A D | gfxMacFont.cpp | 493 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 D | gfxDWriteFonts.cpp | 672 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 D | gfxMacFont.h | 38 int32_t GetGlyphWidth(uint16_t aGID) override; 40 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override;
|
H A D | gfxMacFont.cpp | 482 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 D | gfxDWriteFonts.cpp | 497 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 D | gfxMacFont.cpp | 440 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 D | gfxDWriteFonts.cpp | 469 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 D | gfxFT2FontBase.cpp | 172 gfxFT2FontBase::GetGlyphWidth(DrawTarget& aDrawTarget, uint16_t aGID) in GetGlyphWidth() argument 175 GetGlyphExtents(aGID, &extents); in GetGlyphWidth()
|
H A D | gfxGDIFont.cpp | 520 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 D | gfxDWriteFonts.cpp | 584 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 D | gfxFT2FontBase.h | 30 uint16_t aGID) override;
|
H A D | gfxDWriteFonts.h | 57 uint16_t aGID) override;
|
H A D | gfxMacFont.h | 49 uint16_t aGID) override;
|
H A D | gfxGDIFont.h | 64 uint16_t aGID) override;
|
H A D | gfxMacFont.cpp | 375 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 D | gfxGDIFont.cpp | 479 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 D | gfxDWriteFonts.cpp | 522 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 D | gfxMacFont.h | 48 int32_t GetGlyphWidth(DrawTarget &aDrawTarget, uint16_t aGID) override;
|
H A D | gfxDWriteFonts.h | 57 uint16_t aGID) override;
|
H A D | gfxGDIFont.h | 61 uint16_t aGID) override;
|
H A D | gfxMacFont.cpp | 425 int32_t gfxMacFont::GetGlyphWidth(DrawTarget &aDrawTarget, uint16_t aGID) { in GetGlyphWidth() argument 435 ::CTFontGetAdvancesForGlyphs(mCTFont, kCTFontDefaultOrientation, &aGID, in GetGlyphWidth()
|