[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
ttf font with fltk
From: "Gianluca Moro" ####@####.#### Date: 5 Dec 2006 16:29:04 +0000 Message-Id: <d0b802ba0612050828n7ac2f1eat78a64ae8f8b3a007@mail.gmail.com> hi all, I'm trying to use ttf fonts with fltk I have microwindows 0.92 compiled on mips, with freetype2 support; I'm using nxlib 0.45. The microwindows demo work correctly, that is font = GrCreateFont("times.ttf", 17, NULL); creates the correct font and the correct size. When sentting font in fltk, it go back to use pcf fixed sie fonts, so I cannot rescale them to arbitrary size. Is there any way to forse fltk to use ttf fonts? thanks giammy ####@####.#### p.s: in the fltk mailing list the suggested: > On Dec 5, 2006, at 4:53 PM, giammy wrote: >> Please contact the Microwindows or nxlib folks. I know that they have >> the solution for this. -- Gianluca Moro http://groups.yahoo.com/group/embeddeditalia/ ISCRIVITI alla Mailing List Italiana su LINUX EMBEDDED ####@####.#### www.giammy.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] ttf font with fltk
From: "Greg Haerr" ####@####.#### Date: 6 Dec 2006 23:35:16 +0000 Message-Id: <06ed01c7198f$2a8ed550$0300a8c0@RDP> : When sentting font in fltk, it go back to use pcf : fixed sie fonts, so I cannot rescale them to arbitrary : size. : : Is there any way to forse fltk to use ttf fonts? I don't know FLTK well enough, but it either uses fixed font names, or the Xlib (NXLIB) fonts.dir file to find the fonts. So make sure you've got your .ttf fonts specified in that file and no .pcf fonts. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |