How to add subscript text in file created by qfile ?
-
i want to write co2 proper way in file created by qfile.
how we can write it ?
because i have seen it that it not get properly come when write into file using QTextStream and out.
-
i want to write co2 proper way in file created by qfile.
how we can write it ?
because i have seen it that it not get properly come when write into file using QTextStream and out.
Try with unicode value :
QString t="co\u2082"; ----> "co₂" -
i want to write co2 proper way in file created by qfile.
how we can write it ?
because i have seen it that it not get properly come when write into file using QTextStream and out.
This post is deleted! -
i want to write co2 proper way in file created by qfile.
how we can write it ?
because i have seen it that it not get properly come when write into file using QTextStream and out.
@Qt-embedded-developer
This is not a "feature" ofQFile
orQTextStream
. You will presumably need one of:-
Is there a font which offers to write a small, subscripted
2
character among its characters? I doubt it, but maybe.... -
Sounds like you would want a rich text/HTML file instead of a text one, they support some kind of "subscript", don't know whether that is recognized in Qt "subset", quite possibly not....
-
-
i want to write co2 proper way in file created by qfile.
how we can write it ?
because i have seen it that it not get properly come when write into file using QTextStream and out.
Try with unicode value :
QString t="co\u2082"; ----> "co₂" -
Try with unicode value :
QString t="co\u2082"; ----> "co₂"This post is deleted!