vcl/inc/quartz/salgdi.h |    2 --
 vcl/inc/sallayout.hxx   |    2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 456de479fad14968cb38c15d906a0573f43e619a
Author: Khaled Hosny <khaledho...@eglug.org>
Date:   Sat Apr 21 20:39:43 2018 +0200

    sal_GlyphId can be 16 bit now
    
    OpenType glyph ids are 16 bit unsigned integers, but we were using 32
    bit integer and abusing the higher bits to set glyph flags. All such
    abuses are now gone and we can make it a simple 16 bit integer.
    
    Change-Id: I594068675f239fd525376fd9ea752462ec3edd9d
    Reviewed-on: https://gerrit.libreoffice.org/53270
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Khaled Hosny <khaledho...@eglug.org>

diff --git a/vcl/inc/quartz/salgdi.h b/vcl/inc/quartz/salgdi.h
index 071cc0c079f2..1b9782fa652b 100644
--- a/vcl/inc/quartz/salgdi.h
+++ b/vcl/inc/quartz/salgdi.h
@@ -53,8 +53,6 @@ class CoreTextStyle;
 class XorEmulation;
 class CommonSalLayout;
 
-typedef sal_uInt32 sal_GlyphId;
-
 // CoreText-specific physically available font face
 class CoreTextFontFace : public PhysicalFontFace
 {
diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx
index ffc38d4b8adf..a430223adc02 100644
--- a/vcl/inc/sallayout.hxx
+++ b/vcl/inc/sallayout.hxx
@@ -249,7 +249,7 @@ private:
     bool            mbIncomplete;
 };
 
-typedef sal_uInt32 sal_GlyphId;
+typedef sal_uInt16 sal_GlyphId;
 
 struct GlyphItem
 {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to