Hi,
Qt searches Fonts from Operating System's FONTS directory, can I include fonts from a specific directory instead of OS Fonts directory.
cann somebody help me out ?
thanks in advance
Hi,
Qt searches Fonts from Operating System's FONTS directory, can I include fonts from a specific directory instead of OS Fonts directory.
cann somebody help me out ?
thanks in advance
This works for Win/Mac not for X11.
Qt Code:
To copy to clipboard, switch view to plain text mode
Thanks for your reply.
Could you educate how to use this, when I tried to use this with
QString Fpath = "C:/Fonts/Mangal";
QFontDatabase::addApplicationFont(Fpath);
this returns a " -1 ", could you educate me on this front.
thanks
Thanks Yogesh got resolved.
I copied the font to the application folder and the issue got resolved.
can you tell me how to use this font with QFont.
Got it thanks Yogesh.
thanks a ton ...
can somebody tell me how to do the same in LINUX ?
Bookmarks