
Hi,
Many fonts have alternative glyphs for some unicode codepoints. These glyphs can be accessed by enabling OpenType tables such as 'salt', 'ss01', etc. Inkscape has supported using such alternative glyphs through the 'Variants' tab of the 'Text and Font' dialog (under the last section, 'Feature Settings'). But one problem that was pointed out is that it is difficult to know what alternative glyphs are available for a particular font. I've just added code in trunk that will display such alternative glyphs in the 'Feature Settings' section. The GUI leaves a bit to be desired and there is some more work to do to show all alternative glyphs properly (for example, font style is ignored) but it is a start.
Please test it out and give me your feedback.
Tav

cannot build rev15731 on Windows 10
attempting to build rev15731 I get the following attached error messages from cmake. my most recent successful build was rev 15730
build15731.txt http://inkscape.13.x6.nabble.com/file/n4980003/build15731.txt Alvin
-- View this message in context: http://inkscape.13.x6.nabble.com/Alternative-glyphs-tp4980002p4980003.html Sent from the Inkscape - Dev mailing list archive at Nabble.com.

which version of harfbuzz do you have ?
1.2.3 ?

I don't know if I have harfbuzz or not. I am just using the standard 64 bit Windows devlibs. how would I find out the harfbuzz version number?
Alvin
-- View this message in context: http://inkscape.13.x6.nabble.com/Alternative-glyphs-tp4980002p4980005.html Sent from the Inkscape - Dev mailing list archive at Nabble.com.

looks like it is 1.1.3
as in #define HB_VERSION_STRING "1.1.3"
Alvin
-- View this message in context: http://inkscape.13.x6.nabble.com/Alternative-glyphs-tp4980002p4980008.html Sent from the Inkscape - Dev mailing list archive at Nabble.com.

Yup. the function exists in 1.2.3+ (feb 2016) so the devlibs will have to be updated (or a switch to msys2 might solve it)
On 06/06/2017 12:21 AM, alvinpenner wrote:
looks like it is 1.1.3
as in #define HB_VERSION_STRING "1.1.3"
Alvin
-- View this message in context: http://inkscape.13.x6.nabble.com/Alternative-glyphs-tp4980002p4980008.html Sent from the Inkscape - Dev mailing list archive at Nabble.com.
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel

thanks for rev 15733. rev 15733 now compiles and runs normally on Windows 10. When I run it, I get the warning message:
Requires Harfbuzz 1.2.3 for visualizing alternative glyph OpenType tables. Compiled with: 1.1.3.
Alvin
-- View this message in context: http://inkscape.13.x6.nabble.com/Alternative-glyphs-tp4980002p4980016.html Sent from the Inkscape - Dev mailing list archive at Nabble.com.
participants (3)
-
alvinpenner
-
Marc Jeanmougin
-
Tavmjong Bah