Age | Commit message (Collapse) | Author |
|
Avoid calling the expensive ImplFont::AskConfig from Font::SetFamily
as we are just going to overwrite the font family anyway.
It looks like this crept in accidentally in the recent refactor
commit e418d1a9c87ce01b75141f92dc249c7fb1a1bdcb
Change-Id: I12a9bde77ffcc81f03c37ce400c59ea3a9acac31
Reviewed-on: https://gerrit.libreoffice.org/28901
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
|
|
Change-Id: I805962667c3ef2dcaf07a0acebeacca74c74892a
|
|
Change-Id: I19a0e26cefa5e4185df961ae0f6f2f37811ae5bb
Reviewed-on: https://gerrit.libreoffice.org/29978
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Tested-by: Khaled Hosny <khaledhosny@eglug.org>
|
|
Slightly cleaner code and now handles glyph rotation for vertical text.
Change-Id: I98cc8fd7df5e73068294e4d7dd6b38a71dcbdcc7
|
|
Change-Id: I52a71c9c21ad75c7cb9c8574e5e7e3b7c1c0c0c3
|
|
Change-Id: Ifd26b7f14ed77a3aa2a38e5961cac5f9bbb6d796
|
|
Makes it easier to flip the switch in the future (or even do something
more fancy other than checking envvar).
Change-Id: Ie42ca012c167b2108f0fca1ce9ff7beee95f1be7
|
|
Change-Id: I7603d03fef8ca227c3e6fe25239281d18801522a
|
|
Change-Id: I5ce49e57ed57378b4b9e16c8bb020048644252a9
|
|
Change-Id: I0f632f3a8b480f785608aa081add1b1d2fefd312
|
|
This is what it is expecting anyway, no need to special case it for
Chinese.
Change-Id: I6732412375d19816b599005d78abd796f67599ee
|
|
Currently checks only for ligatures, but that is a big improvement over
al code that didn’t do any validation except on Windows.
Change-Id: I035248f4ccc23134ea27b40c2dd6197130749f14
|
|
We now do Kashida insertion in ApplyDXArray(), no need for a separate
step. This simplifies the code greatly (old code is in
GenericSalLayout::KashidaJustify()).
Change-Id: Ie31c8969e26f1f293820f1e90f963a5ba1fc9eb1
|
|
By overriding GetCharWidths() and ApplyDXArray() with a simpler and
saner implementation.
This fixes rendering of Awami Nastaliq, as well as subtending marks in
Amiri and potentially other bugs.
Breaks Kashida justification, will need to rewrite that one as well.
Change-Id: I843679e937f2881e77df61f5cbd9516b6df1b3b6
|
|
Don’t call hb_ot_layout_get_glyph_class() unless the glyph advance width
is zero, as we really do not use its result otherwise.
Change-Id: Id02238abef91b9343931f1886d54d966d7157f25
|
|
We now create it only once per physical font, saves us few percents from
the all over time spent on layout.
Change-Id: I8de582cb20a168c93d72921e539c2477fa97fb54
|
|
It is no longer an optional feature on any platform. The
--enable-graphite stuff is kept as it controls the old Graphite
integration code and it should be removed without.
Change-Id: Ib4d76bba782a1439f02f93411b22d237a1987ea5
|
|
Cache hb_face so it is not created again and again.
Switch from GDI to DirectWrite on Windows to obtain SFNT table data.
Change-Id: I9c532cd72e1f6b57313f3b7d42a6b9b0633eb0ef
|
|
Change-Id: I705f92d5ad55d7612c6413436c801de13f5352a6
|
|
Enable Graphite font rendering in CommonSalLayout through Harfbuzz
Change-Id: Ia6a00a1bb6ea1a7bd705ed91d4f4f6cb9803e062
|
|
Change-Id: I07a9c956f09be5d43ee58ff0784ba0f81f52cd9a
|
|
Change-Id: Ifeb2fa7ca9e2cd0da1c504d4e770aa0bb1b0b0de
|
|
Change-Id: I991cb5cbd2adad4f4c9f62f807990b9fde2a5133
|
|
Modify the definiton of the DrawServerFontLayout method.
Add new DrawSalLayout method which will be used for drawing text
independent of the platform.
Change-Id: Ie3eefb172b1781c685def1ef549db2538f672a62
|
|
Change-Id: Ic11e573da2f5fd6ef931f53ab674f8894815c3b4
|
|
WinFontInstance definition moved to winlayout.hxx. It has to be used
in the new layout class. Code and headers which WinFontInstance
depends on also moved to winlayout.hxx
Change-Id: Idc8f87e6601c220d504398671326b1f23d1779a3
|
|
The winlayout header file will need to be included in the new layout
class. Its better to move it to vcl/inc.
Change-Id: Ifb4170e1948dc56b5ec1728380eff7c2b4a07137
|
|
Scrptrun class will be used by the new layout engine for script
itemisation. It will need to be compiled on all platforms. Therefore
move the header and source file to vcl/inc/ and vcl/source/gdi/
respectively.
Change-Id: If4e1e0e76ffb94f9d0ca08f7d5f9982dd907c1c6
|
|
Change-Id: Ia10ffd8c4b5e0cef89571204f5f1df32daa9edb7
|
|
so just give up on that and give them a dialog hint instead
Change-Id: Icca0c707dc464b0dbf362988b1dfee56866eadc0
|
|
This thing:
GtkSalMenu::ShowNativePopupMenu
Menu::Deactivate
MenuItemList::Remove
GtkInstance::DestroyMenuItem
deletes the SalMenuItem, leaving GtkSalMenu with invalid
pointers.
Change-Id: I22ff10fc62421a800d808a56625ce7144c8e04b4
|
|
Change-Id: I7766a63aff240141342db8b4a9236f5930236b13
|
|
Change-Id: Iceeba474535026cd13393432ef9a2e25121c134a
|
|
a spinfield with a dropdown is sort of weird, we should
probably revisit this and see if SPIN and DROPDOWN
are mutually exclusive and for DROPDOWN use ComboBox styles
Change-Id: Id7f5c54974dc2dfd63ab30df18e14f6a67a8ea90
|
|
Change-Id: If88ea931ead8dd031fda9b17d9023a771ab0a0d0
Reviewed-on: https://gerrit.libreoffice.org/29970
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
|
|
Change-Id: Icf773925c37dde8b7404edac9864e7b10fe113b4
Reviewed-on: https://gerrit.libreoffice.org/29968
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
|
|
Change-Id: I13a6a64f118bcfb99f47cd47a0dc638c5c9a5a14
|
|
Change-Id: Ife6f2665eabeefd6125a53318404dbd7b9af42ee
|
|
Change-Id: I648067e30d5a2e725111b2bc920367ac2d5e0f80
|
|
Change-Id: I88cd8926b733717c9ea0ecf64a9882eaa777dcfe
|
|
Change-Id: I3ea5a9e65e62133c910945e603bdc1155c9a07c3
|
|
Change-Id: Ic379307ba9e663e0ffc27c945852f6d68197f995
|
|
despite various theme layout differences
Change-Id: I209258583571b57b2b7869937fa4821855125eac
|
|
Change-Id: I6192d13419aab42993e4b6dc011db30a4c3c1787
|
|
Change-Id: I64cb12185fc3943a211928e35e756b82942095b0
|
|
Change-Id: I7c1341a920c4607937ffab06c182a0ba0e0b26fd
|
|
gtk3-demo has examples of foreign drawing, follow
the patterns there to figure out what to do, add
stuff to gtk3-demo to demo what we need to do if
any particular case here is lacking
Change-Id: Ia1a22280161c97a3eab2d94fc4744fe971d31727
|
|
Change-Id: I57d0875acdaf3a1a14badb9e08e7c08fd726baea
|
|
Change-Id: Iac311e0c326cf79a2dbacb889d39ab49ccaa9325
|
|
Change-Id: If385b45b12c72a0d7460a9a4c9d0b0e3bfc1195e
|