Commit Graph

8 Commits (master)

Author SHA1 Message Date
Torsten Paul 9f372cff41 Simple detection of script and direction based on given text.
This adds a simple detection logic based on the hb_unicode_script()
function provided by harfbuzz. Automatic script selection will only
happen if no valid parameter was given (basically only in case of
a missing script parameter in text()).
If different scripts are found in a single text, the resulting value
is HB_SCRIPT_UNKNOWN.
2015-05-09 18:05:07 +02:00
Marius Kintel 72ca3c849d Removed unused code 2015-03-12 19:33:33 -04:00
Torsten Paul b920352f98 Save original $fn value for CSG output. 2014-08-03 20:31:03 +02:00
Torsten Paul d413e4695b Use special handling for Windows/Symbol charmap only with charcodes >= 0xf000.
Some fonts with symbol encoding still have the charcodes in the ASCII
area instead of Unicode page 0xf000. To make those work too, the special
handling is only enabled in case the first charcode is >= 0xf000.
2014-07-07 23:28:03 +02:00
Torsten Paul f29d10a49f Select charmap when loading fonts and add workaround for windows symbol fonts. 2014-07-07 23:28:03 +02:00
Marius Kintel ef1c92ca2f #803 compile fix: Initializing static variables in a header file is a GNU extension 2014-05-28 22:53:32 -04:00
Marius Kintel 3f42b8c6cb adapted text-module branch to refactored branch
Conflicts:
	src/GeometryEvaluator.cc
	src/GeometryEvaluator.h
	src/clipper-utils.h
	tests/CMakeLists.txt
2014-02-02 18:41:59 -05:00
Torsten Paul bb45e7e52a Add implementation of text() module. 2014-02-02 18:00:44 -05:00