diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2016-11-28 06:43:29 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2016-11-28 05:40:30 +0000 |
commit | f246542d1f61b5253189676688f59e5f952267a1 (patch) | |
tree | 0e0f3bada0178a1a2ccf669ac3931b0fb28aeb15 /vcl/inc | |
parent | 2db42ab241d0852d89a470b18727c22d0fc06745 (diff) |
Simplify things a bit
* Drop SortGlyphItems() and update the Kashida insertion code not depend
on that sorting.
* IS_DIACRITIC flag can now be based solely on the General Category
property, since it now is used for non-spacing marks not any OpenType
mark glyph. Pending complete removal.
* Check whether a glyph can take Kashida or not in one place. We need to
stop second-guessing here and pass explicit Kashida insertion points
from upper layers.
Change-Id: I39caa126a07d08c5725505615acc0c8f7a14e169
Reviewed-on: https://gerrit.libreoffice.org/31300
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/sallayout.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx index c20a58259cc0..effb6463d0cb 100644 --- a/vcl/inc/sallayout.hxx +++ b/vcl/inc/sallayout.hxx @@ -333,7 +333,6 @@ public: virtual void ApplyDXArray(ImplLayoutArgs&) = 0; void Justify(DeviceCoordinate nNewWidth); void ApplyAsianKerning(const OUString& rStr); - void SortGlyphItems(); // used by upper layers virtual DeviceCoordinate GetTextWidth() const override; |