Open Chaz6 opened 5 years ago
Hi @Chaz6
This all depends on support in qt5. If qt5 supports it, then it would be realistic to add such features, if not, it would have to be added in qt first.
If you can help to investigate if the desired features are supported in qt, it would help.
We recently started collaborating with company KDAB to do fixes and improvements in qt5 upstream. So we are slowly trying to improve collaboration with qt - because - a lot in QGIS depends on availability in qt.
As far as I know, QGIS supports OpenType fonts (provided by the underneath software layers).
For testing OpenType fonts, I used the Libertinus font. In the following screen shot, you can see the typical fi ligature in the word filipe.
I've downloaded another OpenTyle font, installed it and created a label with that font. It works.
@Chaz6 Do you want to turn on/turn off OpenType features for each font? That's the kind of features you are looking for, like we can do in LibreOffice?
@jgrocha yes I think it would be useful to be able to have a bit more control, such as choosing stylistic sets. I could have a go at writing a patch.
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue. If there is no further activity on this issue, it will be closed in a week.
It looks like Qt 6.6 (to be released later this year) has added support for OpenType features to QFont
, according to these sources:
Perhaps this would enable support in QGIS, after QGIS can otherwise depend on Qt 6.
Any news on this?
Feature description. Please consider supporting OpenType features:-
There are others, but I think these three would have the most impact on cartographic presentation. As with other options, these could be data-driven (enabled or disabled)
Additional context For more information on opentype features, the following urls have more information:- https://typofonderie.com/font-support/opentype-features/ https://en.wikipedia.org/wiki/List_of_typographic_features#OpenType_typographic_features https://ilovetypography.com/OpenType/opentype-features.html