[Libreoffice-commits] core.git: Changes to 'private/khaledhosny/vcl-cleanup-font'

Khaled Hosny (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 3 14:25:57 UTC 2019


New branch 'private/khaledhosny/vcl-cleanup-font' available with the following commits:
commit c2663218c216abe3424aaf730f5379136a9e260a
Author: Khaled Hosny <khaledhosny at eglug.org>
Date:   Tue Sep 3 14:40:42 2019 +0200

    Consolidate GetFontCapabilities()
    
    All implementations were basically doing the same thing. Move to
    PhysicalFontFace and use HarfBuzz API to get the raw OpeenType table
    data.
    
    Change-Id: Ia5ac0d1ba6299f86e90e1b0dac34ba7672855ec0

commit d302923c758cba8e7542b7c58e0a504e2143c6ca
Author: Khaled Hosny <khaledhosny at eglug.org>
Date:   Tue Sep 3 13:21:50 2019 +0200

    Drop SalGraphics::GetGlyphWidths()
    
    It was used only on two places. One use is replaced with a new
    LogicalFontInstance::GetGlyphWidth() (backed by HarfBuzz font) and the
    other is replaced by getting glyph widths while subsetting the font.
    
    PDFFontCache is now unused, so dropped as well.
    
    Change-Id: I9741f17c0a5626faa952dd0d417cc786cbc877cd

commit 7767c613625c4841a6087bb6ac2d7cd99bda1391
Author: Khaled Hosny <khaledhosny at eglug.org>
Date:   Wed Aug 28 18:22:25 2019 +0200

    Consolidate GetFontCharMap()
    
    All implementations were basically doing the same thing. Move to
    PhysicalFontFace and use HarfBuzz API to get the raw OpeenType table
    data.
    
    While at make a few other places use that FontCharMap as well instead of
    parsing the cmap table again.
    
    Drop unused HasChar() as well.
    
    Change-Id: I06ff4feb61bcfb17291bf3c299caf11fc53afa4d

commit 6ed2874e2fd1a0f15dc5692756f790676c06aef4
Author: Khaled Hosny <khaledhosny at eglug.org>
Date:   Wed Aug 28 17:24:51 2019 +0200

    Move creating HarfBuzz face to PhysicalFontFace
    
    The two map to each other; there are many size-specific
    LogicalFontInstance's in each PhysicalFontFace, and ditto for hb_face_t
    and hb_font_t.
    
    This will make it possible to access HarfBuzz face from PhysicalFontFace
    in the future.
    
    Change-Id: I029ad8c4b619b55a2c629f813b9e60bda29b1c08

commit 81bf06c8fab6fcda3edd6cfa025732828003fbd0
Author: Khaled Hosny <khaledhosny at eglug.org>
Date:   Wed Aug 28 12:50:22 2019 +0200

    Merge GetFontCodeRanges() into GetFontCharMap()
    
    Change-Id: I61d8edf0be492c1c06274c11ac5d2e65415525a9

commit bffc3a013889b27cde392f0a1e8bf2a341b0df26
Author: Khaled Hosny <khaledhosny at eglug.org>
Date:   Wed Aug 28 12:46:19 2019 +0200

    Remove effectively dead code
    
    We dropped support for non-SFNT fonts for a while now.
    
    Change-Id: Iaa2ea308effa7328bd84240cf29fc3fd117d418a

commit 4fcfa1210b6a9591f23111618868b18f4301a644
Author: Khaled Hosny <khaledhosny at eglug.org>
Date:   Tue Aug 27 15:19:15 2019 +0200

    Make Noto Color Emoji font work on Linux
    
    Noto Color Emoji is a bitmap color font, Cairo knows how to scale such
    fonts and FontConfig will identify them as scalable but not outline
    fonts, so change the FontConfig checks to checks for scalability.
    
    Make sft.cxx:doOpenTTFont() accept non-outline fonts, the text will not
    show in PDF but that is not worse than the status quo.
    
    Change-Id: I756c718296d2c43e3165cd2f07b11bbb981318d3



More information about the Libreoffice-commits mailing list