Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.2, 4.7.0, 5.8.0 Alpha
-
None
-
Mac OS X
-
-
7896ae052ad2c0c6ae2ebfc64cc2f525185198a8 (qtbase, 5.8), 97e4d5d5aeb0d415db18c075f905763ae5ba5f18 (qtdeclarative, 5.8), 551ee69d6ab42a3801ebbbed6c8c547dcbdcc43f (qtbase, 5.6), dc5efbfd03e00c075ff90a8366d341ee15f0b5be (qtdeclarative, 5.6)
Description
Our application uses a custom font with glyphs in the Unicode private use area from E000 onwards. I've attached a copy to this entry, though it's also freely available here: http://www.smufl.org/fonts/.
You can't use the 'Unicode Hex Input' input source to add characters in this range with QTextEdit.
STEPS TO REPRODUCE
1. Install the attached Bravura Text font.
2. Go to System Preferences > Keyboard > Input Sources.
3. Ensure that 'Unicode Hex Input' is in the list (use '+' to add it if not).
4. Build and run the attached test app.
5. Choose 'Bravura Text' from the font combo.
6. Switch to 'Unicode Hex Input' input source.
7. Hold down Alt and type E832.
EXPECTED: A 'guitar shake' glyph is added (see here: http://www.smufl.org/version/latest/glyph/guitarShake/)
ACTUAL: Nothing happens.
To confirm that this works with things in the normal unicode range, try something from the normal unicode range, e.g. Alt+2660 (playing card spade suit). There's no glyph for this in our font, but Qt will correctly substitute another font, and the glyph will be inserted.
Attachments
Issue Links
- relates to
-
QTBUG-42074 ZWNJ character on Persian keyboard not working
- Closed
For Gerrit Dashboard: QTBUG-57003 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
179219,10 | Accept ZWNJ, ZWJ and PUA characters in input widgets | 5.8 | qt/qtbase | Status: MERGED | +2 | 0 |
179258,2 | Accept PUA characters, ZWNJ and ZWJ as input in TextInput/Edit | 5.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
179259,4 | Accept PUA characters, ZWNJ and ZWJ as input in TextInput/Edit | 5.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
179301,7 | Accept ZWNJ, ZWJ and PUA characters in input widgets | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |