summaryrefslogtreecommitdiff
path: root/dtrans
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-19 11:19:19 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-19 11:25:19 +0200
commitd3e0ab976a5bbf63d1673422035def67ba9f4838 (patch)
treea001d03f8fdb0d24c95491cd1a7081205d5f669a /dtrans
parentc3fae6be6067572aaf9f0c72ad35b69019a79135 (diff)
Avoid -fsanitize=shift-base about left-shift of negative values
...assuming these values are indeed intended to be negative (and <https: //developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6.html#Types>) mentions a "Fixed: 16.16-bit sgined fixed-point number" type, apparently represented here by F16Dot16, so the assumption looks plausible). During CppunitTest_vcl_pdfexport, encountered negative values -1184 and -22 with instdir/share/fonts/truetype/Carlito-Regular.ttf and -8 with instdir/share/fonts/truetype/LiberationSans-Bold.ttf. Change-Id: Ia07c61aebc2c9c67d0ed6173ecac94bab2abb2a8
Diffstat (limited to 'dtrans')
0 files changed, 0 insertions, 0 deletions