summaryrefslogtreecommitdiffstats
path: root/src/distancefieldgenerator
Commit message (Collapse)AuthorAgeFilesLines
* distancefieldgenerator: Add help actionFriedemann Kleint2018-12-102-0/+15
| | | | | | | Add a help action launching the documentation page. Change-Id: I8c78ca53389faaac9e87ec116969d0002d9f1205 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* distancefieldgenerator: Use capitalized text for actionsKai Koehne2018-11-292-6/+6
| | | | | | | | | Follow the example of other Qt tools and use capitalized text for all actions. Change-Id: I6417a098d1601a10a73232334e5f5819095187f3 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* distancefieldgenerator: Preserve window sizeKai Koehne2018-11-283-1/+11
| | | | | | | | Do not always start app as maximized; instead, save the state between runs. Change-Id: I30fb61e4b46a230ff1eb6fb93ef89df037a6afb0 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* distancefieldgenerator: Add command line interfaceKai Koehne2018-11-283-18/+33
| | | | | | Fixes: QTBUG-72052 Change-Id: I52aa7081334b2515e670373c7975a9ec2bb7c00b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* distancefieldgenerator: Fix crash in select actions for empty documentKai Koehne2018-11-281-17/+12
| | | | | | Fixes: QTBUG-72051 Change-Id: Ib3862f8d592bcab54ee72cc87c4e7dbc213f1e87 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* distancefieldgenerator: Add About, About Qt dialogsKai Koehne2018-11-273-1/+39
| | | | | | | | | | This follows the pattern of all other user visible GUI tools we provide. Change-Id: I9dce96bd3b3e65bbf625177eabcc06051bcb0551 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> Reviewed-by: Martin Smith <martin.smith@qt.io>
* qdistancefieldgenerator: Properly install toolv5.12.0-beta2Kai Koehne2018-10-121-0/+6
| | | | | | | | Also rename executable to qdistancefieldgenerator Change-Id: I2951c2d83fcff25d65413a548f7a692980c9b3ec Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* Doc: Add an entry to the pro file to include the qdocconfVenugopal Shivashankar2018-10-012-0/+28
| | | | | | | | | | | | Without a QMAKE_DOCS entry in the project file, docs are not built for the qtdistancefieldgenerator tool. Also renamed the qdocconf file to be inline with other qdocconf files in the repo. The qdocconf file name translates to the install directory under $QT_INSTALL_DOCS. Change-Id: I6052039cbecb9dc4e447818421c588ecec675861 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* Introduce distancefieldgeneratorEskil Abrahamsen Blomfeldt2018-08-2212-0/+2105
A tool that allows you to pick prepare .qdf files which are pregenerated distance fields in binary form that can be loaded by Qt to improve startup time. We currently only support cmaps subtable formats 0, 4, 6, 10 and 12, as these are either A. the most commonly used (4 and 12) or B. simple to implement. The tool writes a .ttf file which is a copy of the original file, but with the addition of a "qtdf" table that follows sfnt conventions. This way, the file will work as a normal font file, as well, which means that glyphs that are not in the pregenerated cache can easily be generated at runtime. Task-number: QTBUG-69356 Change-Id: Ib99c2d62f65e65973a60da4b1aa632b7ed3b2794 Reviewed-by: Lars Knoll <lars.knoll@qt.io>