/dports/lang/spidermonkey78/firefox-78.9.0/gfx/thebes/ |
H A D | gfxFT2FontBase.h | 49 int32_t GetGlyphWidth(uint16_t aGID) override; 50 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override; 69 bool GetFTGlyphExtents(uint16_t aGID, int32_t* aWidth, 132 uint16_t aGID, mozilla::gfx::IntRect* aBounds = nullptr);
|
H A D | gfxFT2FontBase.cpp | 524 bool gfxFT2FontBase::GetFTGlyphExtents(uint16_t aGID, int32_t* aAdvance, in GetFTGlyphExtents() argument 538 if (Factory::LoadFTGlyph(face.get(), aGID, flags) != FT_Err_Ok) { in GetFTGlyphExtents() 601 uint16_t aGID, IntRect* aBounds) { in GetCachedGlyphMetrics() argument 608 if (const GlyphMetrics* metrics = mGlyphMetrics->GetValue(aGID)) { in GetCachedGlyphMetrics() 612 GlyphMetrics& metrics = mGlyphMetrics->GetOrInsert(aGID); in GetCachedGlyphMetrics() 614 if (GetFTGlyphExtents(aGID, &metrics.mAdvance, &bounds)) { in GetCachedGlyphMetrics() 623 int32_t gfxFT2FontBase::GetGlyphWidth(uint16_t aGID) { in GetGlyphWidth() argument 624 return GetCachedGlyphMetrics(aGID).mAdvance; in GetGlyphWidth() 627 bool gfxFT2FontBase::GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, in GetGlyphBounds() argument 630 const GlyphMetrics& metrics = GetCachedGlyphMetrics(aGID, &bounds); in GetGlyphBounds() [all …]
|
H A D | gfxGDIFont.cpp | 413 int32_t gfxGDIFont::GetGlyphWidth(uint16_t aGID) { in GetGlyphWidth() argument 419 if (mGlyphWidths->Get(aGID, &width)) { in GetGlyphWidth() 427 if (GetCharWidthI(dc, aGID, 1, nullptr, &devWidth)) { in GetGlyphWidth() 431 mGlyphWidths->Put(aGID, width); in GetGlyphWidth() 438 bool gfxGDIFont::GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) { in GetGlyphBounds() argument 444 if (!GetCharWidthI(dc, aGID, 1, nullptr, &devWidth)) { in GetGlyphBounds() 456 if (GetGlyphOutlineW(dc, aGID, GGO_METRICS | GGO_GLYPH_INDEX, &gm, 0, nullptr, in GetGlyphBounds() 462 !GetGlyphOutlineW(dc, aGID, GGO_NATIVE | GGO_GLYPH_INDEX, &gm, 0, nullptr, in GetGlyphBounds()
|
H A D | gfxGDIFont.h | 50 int32_t GetGlyphWidth(uint16_t aGID) override; 52 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override;
|
H A D | gfxDWriteFonts.h | 53 int32_t GetGlyphWidth(uint16_t aGID) override; 55 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override;
|
H A D | gfxMacFont.h | 38 int32_t GetGlyphWidth(uint16_t aGID) override; 40 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override;
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/thebes/ |
H A D | gfxFT2FontBase.h | 53 int32_t GetGlyphWidth(uint16_t aGID) override; 54 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override; 73 bool GetFTGlyphExtents(uint16_t aGID, int32_t* aWidth, 136 uint16_t aGID, mozilla::gfx::IntRect* aBounds = nullptr);
|
H A D | gfxFT2FontBase.cpp | 617 bool gfxFT2FontBase::GetFTGlyphExtents(uint16_t aGID, int32_t* aAdvance, in GetFTGlyphExtents() argument 631 if (Factory::LoadFTGlyph(face.get(), aGID, flags) != FT_Err_Ok) { in GetFTGlyphExtents() 705 uint16_t aGID, IntRect* aBounds) { in GetCachedGlyphMetrics() argument 711 return mGlyphMetrics->LookupOrInsertWith(aGID, [&] { in GetCachedGlyphMetrics() 714 if (GetFTGlyphExtents(aGID, &metrics.mAdvance, &bounds)) { in GetCachedGlyphMetrics() 724 int32_t gfxFT2FontBase::GetGlyphWidth(uint16_t aGID) { in GetGlyphWidth() argument 725 return GetCachedGlyphMetrics(aGID).mAdvance; in GetGlyphWidth() 728 bool gfxFT2FontBase::GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, in GetGlyphBounds() argument 731 const GlyphMetrics& metrics = GetCachedGlyphMetrics(aGID, &bounds); in GetGlyphBounds() 739 } else if (bounds.IsEmpty() && !GetFTGlyphExtents(aGID, nullptr, &bounds)) { in GetGlyphBounds()
|
H A D | gfxGDIFont.cpp | 447 int32_t gfxGDIFont::GetGlyphWidth(uint16_t aGID) { in GetGlyphWidth() argument 452 return mGlyphWidths->WithEntryHandle(aGID, [&](auto&& entry) { in GetGlyphWidth() 458 if (!GetCharWidthI(dc, aGID, 1, nullptr, &devWidth)) { in GetGlyphWidth() 469 bool gfxGDIFont::GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) { in GetGlyphBounds() argument 475 if (!GetCharWidthI(dc, aGID, 1, nullptr, &devWidth)) { in GetGlyphBounds() 487 if (GetGlyphOutlineW(dc, aGID, GGO_METRICS | GGO_GLYPH_INDEX, &gm, 0, nullptr, in GetGlyphBounds() 493 !GetGlyphOutlineW(dc, aGID, GGO_NATIVE | GGO_GLYPH_INDEX, &gm, 0, nullptr, in GetGlyphBounds()
|
H A D | gfxGDIFont.h | 50 int32_t GetGlyphWidth(uint16_t aGID) override; 52 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override;
|
H A D | gfxDWriteFonts.h | 53 int32_t GetGlyphWidth(uint16_t aGID) override; 55 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override;
|
/dports/www/firefox/firefox-99.0/gfx/thebes/ |
H A D | gfxFT2FontBase.h | 53 int32_t GetGlyphWidth(uint16_t aGID) override; 54 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override; 73 bool GetFTGlyphExtents(uint16_t aGID, int32_t* aWidth, 136 uint16_t aGID, mozilla::gfx::IntRect* aBounds = nullptr);
|
H A D | gfxFT2FontBase.cpp | 626 bool gfxFT2FontBase::GetFTGlyphExtents(uint16_t aGID, int32_t* aAdvance, in GetFTGlyphExtents() argument 640 if (Factory::LoadFTGlyph(face.get(), aGID, flags) != FT_Err_Ok) { in GetFTGlyphExtents() 714 uint16_t aGID, IntRect* aBounds) { in GetCachedGlyphMetrics() argument 720 return mGlyphMetrics->LookupOrInsertWith(aGID, [&] { in GetCachedGlyphMetrics() 723 if (GetFTGlyphExtents(aGID, &metrics.mAdvance, &bounds)) { in GetCachedGlyphMetrics() 733 int32_t gfxFT2FontBase::GetGlyphWidth(uint16_t aGID) { in GetGlyphWidth() argument 734 return GetCachedGlyphMetrics(aGID).mAdvance; in GetGlyphWidth() 737 bool gfxFT2FontBase::GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, in GetGlyphBounds() argument 740 const GlyphMetrics& metrics = GetCachedGlyphMetrics(aGID, &bounds); in GetGlyphBounds() 748 } else if (bounds.IsEmpty() && !GetFTGlyphExtents(aGID, nullptr, &bounds)) { in GetGlyphBounds()
|
H A D | gfxGDIFont.cpp | 466 int32_t gfxGDIFont::GetGlyphWidth(uint16_t aGID) { in GetGlyphWidth() argument 471 return mGlyphWidths->WithEntryHandle(aGID, [&](auto&& entry) { in GetGlyphWidth() 477 if (!GetCharWidthI(dc, aGID, 1, nullptr, &devWidth)) { in GetGlyphWidth() 488 bool gfxGDIFont::GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) { in GetGlyphBounds() argument 494 if (!GetCharWidthI(dc, aGID, 1, nullptr, &devWidth)) { in GetGlyphBounds() 506 if (GetGlyphOutlineW(dc, aGID, GGO_METRICS | GGO_GLYPH_INDEX, &gm, 0, nullptr, in GetGlyphBounds() 512 !GetGlyphOutlineW(dc, aGID, GGO_NATIVE | GGO_GLYPH_INDEX, &gm, 0, nullptr, in GetGlyphBounds()
|
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 | gfxGDIFont.h | 50 int32_t GetGlyphWidth(uint16_t aGID) override; 52 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override;
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/thebes/ |
H A D | gfxFT2FontBase.h | 53 int32_t GetGlyphWidth(uint16_t aGID) override; 54 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override; 73 bool GetFTGlyphExtents(uint16_t aGID, int32_t* aWidth, 136 uint16_t aGID, mozilla::gfx::IntRect* aBounds = nullptr);
|
H A D | gfxFT2FontBase.cpp | 617 bool gfxFT2FontBase::GetFTGlyphExtents(uint16_t aGID, int32_t* aAdvance, in GetFTGlyphExtents() argument 631 if (Factory::LoadFTGlyph(face.get(), aGID, flags) != FT_Err_Ok) { in GetFTGlyphExtents() 705 uint16_t aGID, IntRect* aBounds) { in GetCachedGlyphMetrics() argument 711 return mGlyphMetrics->LookupOrInsertWith(aGID, [&] { in GetCachedGlyphMetrics() 714 if (GetFTGlyphExtents(aGID, &metrics.mAdvance, &bounds)) { in GetCachedGlyphMetrics() 724 int32_t gfxFT2FontBase::GetGlyphWidth(uint16_t aGID) { in GetGlyphWidth() argument 725 return GetCachedGlyphMetrics(aGID).mAdvance; in GetGlyphWidth() 728 bool gfxFT2FontBase::GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, in GetGlyphBounds() argument 731 const GlyphMetrics& metrics = GetCachedGlyphMetrics(aGID, &bounds); in GetGlyphBounds() 739 } else if (bounds.IsEmpty() && !GetFTGlyphExtents(aGID, nullptr, &bounds)) { in GetGlyphBounds()
|
H A D | gfxGDIFont.cpp | 447 int32_t gfxGDIFont::GetGlyphWidth(uint16_t aGID) { in GetGlyphWidth() argument 452 return mGlyphWidths->WithEntryHandle(aGID, [&](auto&& entry) { in GetGlyphWidth() 458 if (!GetCharWidthI(dc, aGID, 1, nullptr, &devWidth)) { in GetGlyphWidth() 469 bool gfxGDIFont::GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) { in GetGlyphBounds() argument 475 if (!GetCharWidthI(dc, aGID, 1, nullptr, &devWidth)) { in GetGlyphBounds() 487 if (GetGlyphOutlineW(dc, aGID, GGO_METRICS | GGO_GLYPH_INDEX, &gm, 0, nullptr, in GetGlyphBounds() 493 !GetGlyphOutlineW(dc, aGID, GGO_NATIVE | GGO_GLYPH_INDEX, &gm, 0, nullptr, in GetGlyphBounds()
|
H A D | gfxDWriteFonts.h | 53 int32_t GetGlyphWidth(uint16_t aGID) override; 55 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override;
|
H A D | gfxGDIFont.h | 50 int32_t GetGlyphWidth(uint16_t aGID) override; 52 bool GetGlyphBounds(uint16_t aGID, gfxRect* aBounds, bool aTight) override;
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/unx/generic/print/ |
H A D | glyphset.cxx | 186 tools::Long aGID; member 188 EncEntry() : aEnc( 0 ), aGID( 0 ) {} in EncEntry() 211 aSorted[i].aGID = pRequestedGlyphs[i]; in CreatePSUploadableFont() 222 aRequestedGlyphs[i] = aSorted[i].aGID; in CreatePSUploadableFont()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/unx/generic/print/ |
H A D | glyphset.cxx | 189 long aGID; member 191 EncEntry() : aEnc( 0 ), aGID( 0 ) {} in EncEntry() 212 aSorted[i].aGID = pRequestedGlyphs[i]; in CreatePSUploadableFont() 223 aRequestedGlyphs[i] = aSorted[i].aGID; in CreatePSUploadableFont()
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/thebes/ |
H A D | gfxFT2FontBase.h | 33 uint16_t aGID) override; 50 bool GetFTGlyphAdvance(uint16_t aGID, int32_t* aWidth);
|
H A D | gfxFT2FontBase.cpp | 507 bool gfxFT2FontBase::GetFTGlyphAdvance(uint16_t aGID, int32_t* aAdvance) { in GetFTGlyphAdvance() argument 529 FT_Error ftError = FT_Load_Glyph(face.get(), aGID, flags); in GetFTGlyphAdvance() 561 int32_t gfxFT2FontBase::GetGlyphWidth(DrawTarget& aDrawTarget, uint16_t aGID) { in GetGlyphWidth() argument 568 if (mGlyphWidths->Get(aGID, &width)) { in GetGlyphWidth() 572 if (!GetFTGlyphAdvance(aGID, &width)) { in GetGlyphWidth() 574 GetGlyphExtents(aGID, &extents); in GetGlyphWidth() 577 mGlyphWidths->Put(aGID, width); in GetGlyphWidth()
|