[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Not able to change the size of text data ....F1E-A71
From: Misbahullah Khan ####@####.#### Date: 16 Jan 2008 05:40:19 -0000 Message-Id: <OFFDFDBAE8.CE7A830F-ON652573D2.001F9BAD-652573D2.001F6C81@lntemsys.com> Hi all .... i am new to nanox and this is the first time i am trying using nanox ,but getting a tricky problem that is " i am not able to change the size of the text data which i am printing on the window ....Its event the test programs like demo.sh fontdemo.sh are also not able to print the text message in different sizes " I did tried these .... fontid = GrCreateFont("times.ttf",15,0) // " arial.ttf" fontid = GrCreateFont(GR_FONT_SYSTEM_FIXED,15,0) fontid = GrCreateFont(GR_FONT_SYSTEM_VAR,15,0) /// Nothing could change the text msg size using this ....... even doing this didnt created any effect ....... GrSetFont(fontid,15) // value from 0 to 100 didnt made any difference ..... Below is the config file :- /************************************************************************************************************************************************************************/ #################################################################### ARCH = LINUX-NATIVE BIGENDIAN = N ARMTOOLSPREFIX = arm-linux- MIPSTOOLSPREFIX = mipsel-linux- POWERPCTOOLSPREFIX = powerpc-linux- SHTOOLSPREFIX = sh-linux-gnu RTEMSTOOLSPREFIX = i386-rtemself- #################################################################### OPTIMIZE = Y DEBUG = Y VERBOSE = N THREADSAFE = N GPROF = N #################################################################### MICROWIN = N NANOX = Y SHAREDLIBS = N OBJFRAMEWORK = N #################################################################### MICROWINDEMO = N NANOXDEMO = Y #################################################################### NANOWM = Y #################################################################### SCREEN_PIXTYPE = MWPF_TRUECOLOR0888 #################################################################### LINK_APP_INTO_SERVER = N #################################################################### HAVE_SHAREDMEM_SUPPORT = N #################################################################### HAVE_FILEIO = Y #################################################################### HAVE_BMP_SUPPORT = Y HAVE_GIF_SUPPORT = Y HAVE_PNM_SUPPORT = Y HAVE_XPM_SUPPORT = Y #################################################################### HAVE_JPEG_SUPPORT = Y INCJPEG = . LIBJPEG = /usr/lib/libjpeg.a #################################################################### HAVE_PNG_SUPPORT = N INCPNG = /usr/include LIBPNG = /usr/lib/libpng.a LIBZ = /usr/lib/libz.a #################################################################### HAVE_TIFF_SUPPORT = N INCTIFF = /usr/include LIBTIFF = /usr/lib/libtiff.a #################################################################### HAVE_FNT_SUPPORT = Y HAVE_FNTGZ_SUPPORT = N FNT_FONT_DIR = "fonts/bdf" #################################################################### HAVE_T1LIB_SUPPORT = N INCT1LIB = /usr/include LIBT1LIB = /usr/lib/libt1.a #################################################################### HAVE_FREETYPE_SUPPORT = N INCFTLIB = /usr/include LIBFTLIB = /usr/lib/libttf.so FREETYPE_FONT_DIR = "fonts/truetype" #################################################################### HAVE_FREETYPE_2_SUPPORT = Y INCFT2LIB = /usr/include LIBFT2LIB = /usr/lib/libfreetype.a #################################################################### HAVE_PCF_SUPPORT = Y HAVE_PCFGZ_SUPPORT = Y PCF_FONT_DIR = "fonts/pcf" #################################################################### HAVE_HZK_SUPPORT = N HZK_FONT_DIR = "fonts/chinese" #################################################################### HAVE_BIG5_SUPPORT = N #################################################################### HAVE_GB2312_SUPPORT = N #################################################################### HAVE_JISX0213_SUPPORT = N #################################################################### HAVE_KSC5601_SUPPORT = N #################################################################### HAVE_EUCJP_SUPPORT = N EUCJP_FONT_DIR = "fonts/japanese" #################################################################### NOFONTSORCLIPPING = N #################################################################### ERASEMOVE = Y UPDATEREGIONS = Y #################################################################### GRAYPALETTE = N #################################################################### ifneq ($(ARCH), ELKS) # X Window screen, mouse and kbd drivers X11 = Y ifeq ($(X11), Y) # startup screen width, height, (depth for palette mode only) SCREEN_WIDTH = 640 SCREEN_HEIGHT = 480 SCREEN_DEPTH = 4 # You may want to turn this on for XFree86 4.x or if your backing store # isn't functioning properly USE_EXPOSURE = Y else # framebuffer screen driver (linear and/or vga 4 planes) # set VTSWITCH to include virtual terminal switch code # set FBREVERSE to reverse bit orders in 1,2,4 bpp # set FBVGA=N for all systems without VGA hardware (for MIPS must=N) FRAMEBUFFER = Y FBVGA = Y VTSWITCH = Y FBREVERSE = N # set HAVETEXTMODE=Y for systems that can switch between text & graphics. # On a graphics-only embedded system, such as Osprey and Embedded # Planet boards, set HAVETEXTMODE=N HAVETEXTMODE = Y # svgalib screen driver VGALIB = N # direct VGA hardware access screen driver HWVGA = N #################################################################### GPMMOUSE = Y SERMOUSE = N SUNMOUSE = N NOMOUSE = N IPAQMOUSE = N ZAURUSMOUSE = N TUXMOUSE = N ADSMOUSE = N ADS7846MOUSE = N EPMOUSE = N VHMOUSE = N MTMOUSE = N PSIONMOUSE = N YOPYMOUSE = N HARRIERMOUSE = N # keyboard or null kbd driver TTYKBD = N SCANKBD = Y PIPEKBD = N IPAQKBD = N LIRCKBD = N NOKBD = N endif #################################################################### SA1100_LCD_LTLEND = N INVERT4BPP = N #################################################################### ifeq ($(ARCH), RTEMS) # Location & BSP information of the RTEMS build RTEMS_BUILD = /tools/build-i386-elf-rtems RTEMS_BSP = pc386 LINK_APP_INTO_SERVER = Y endif endif #################################################################### ifeq ($(ARCH), ELKS) # Higher speed asm driver, c driver of hercules screen driver ASMVGADRIVER = Y CVGADRIVER = N HERCDRIVER = N DBGDRIVER = N # Mouse support SERMOUSE = Y endif I am using Linux FC4 on my desktop pc ...... If any of you have an idea to the mentioned problem please do share with me .....or else if any of you have the above problem and got rid of it please share me your experience with me ....... looking forward for your reply soon ...... Thank you .... Misbah | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Not able to change the size of text data ....F1E-A71
From: "misbah khan" ####@####.#### Date: 16 Jan 2008 13:52:52 -0000 Message-Id: <20080116135243.8DC46478088@ws1-5.us4.outblaze.com> Hi all .... i am new to nanox and this is the first time i am trying using nanox ,but getting a tricky problem that is " i am not able to change the size of the text data which i am printing on the window ....Its event the test programs like demo.sh fontdemo.sh are also not able to print the text message in different sizes " I did tried these .... fontid = GrCreateFont("times.ttf",15,0) // " arial.ttf" fontid = GrCreateFont(GR_FONT_SYSTEM_FIXED,15,0) fontid = GrCreateFont(GR_FONT_SYSTEM_VAR,15,0) /// Nothing could change the text msg size using this ....... even doing this didnt created any effect ....... GrSetFont(fontid,15) // value from 0 to 100 didnt made any difference ..... Below is the config file :- /************************************************************************************************************************************************************************/ #################################################################### ARCH = LINUX-NATIVE BIGENDIAN = N ARMTOOLSPREFIX = arm-linux- MIPSTOOLSPREFIX = mipsel-linux- POWERPCTOOLSPREFIX = powerpc-linux- SHTOOLSPREFIX = sh-linux-gnu RTEMSTOOLSPREFIX = i386-rtemself- #################################################################### OPTIMIZE = Y DEBUG = Y VERBOSE = N THREADSAFE = N GPROF = N #################################################################### MICROWIN = N NANOX = Y SHAREDLIBS = N OBJFRAMEWORK = N #################################################################### MICROWINDEMO = N NANOXDEMO = Y #################################################################### NANOWM = Y #################################################################### SCREEN_PIXTYPE = MWPF_TRUECOLOR0888 #################################################################### LINK_APP_INTO_SERVER = N #################################################################### HAVE_SHAREDMEM_SUPPORT = N #################################################################### HAVE_FILEIO = Y #################################################################### HAVE_BMP_SUPPORT = Y HAVE_GIF_SUPPORT = Y HAVE_PNM_SUPPORT = Y HAVE_XPM_SUPPORT = Y #################################################################### HAVE_JPEG_SUPPORT = Y INCJPEG = . LIBJPEG = /usr/lib/libjpeg.a #################################################################### HAVE_PNG_SUPPORT = N INCPNG = /usr/include LIBPNG = /usr/lib/libpng.a LIBZ = /usr/lib/libz.a #################################################################### HAVE_TIFF_SUPPORT = N INCTIFF = /usr/include LIBTIFF = /usr/lib/libtiff.a #################################################################### HAVE_FNT_SUPPORT = Y HAVE_FNTGZ_SUPPORT = N FNT_FONT_DIR = "fonts/bdf" #################################################################### HAVE_T1LIB_SUPPORT = N INCT1LIB = /usr/include LIBT1LIB = /usr/lib/libt1.a #################################################################### HAVE_FREETYPE_SUPPORT = N INCFTLIB = /usr/include LIBFTLIB = /usr/lib/libttf.so FREETYPE_FONT_DIR = "fonts/truetype" #################################################################### HAVE_FREETYPE_2_SUPPORT = Y INCFT2LIB = /usr/include LIBFT2LIB = /usr/lib/libfreetype.a #################################################################### HAVE_PCF_SUPPORT = Y HAVE_PCFGZ_SUPPORT = Y PCF_FONT_DIR = "fonts/pcf" #################################################################### HAVE_HZK_SUPPORT = N HZK_FONT_DIR = "fonts/chinese" #################################################################### HAVE_BIG5_SUPPORT = N #################################################################### HAVE_GB2312_SUPPORT = N #################################################################### HAVE_JISX0213_SUPPORT = N #################################################################### HAVE_KSC5601_SUPPORT = N #################################################################### HAVE_EUCJP_SUPPORT = N EUCJP_FONT_DIR = "fonts/japanese" #################################################################### NOFONTSORCLIPPING = N #################################################################### ERASEMOVE = Y UPDATEREGIONS = Y #################################################################### GRAYPALETTE = N #################################################################### ifneq ($(ARCH), ELKS) # X Window screen, mouse and kbd drivers X11 = Y ifeq ($(X11), Y) # startup screen width, height, (depth for palette mode only) SCREEN_WIDTH = 640 SCREEN_HEIGHT = 480 SCREEN_DEPTH = 4 # You may want to turn this on for XFree86 4.x or if your backing store # isn't functioning properly USE_EXPOSURE = Y else # framebuffer screen driver (linear and/or vga 4 planes) # set VTSWITCH to include virtual terminal switch code # set FBREVERSE to reverse bit orders in 1,2,4 bpp # set FBVGA=N for all systems without VGA hardware (for MIPS must=N) FRAMEBUFFER = Y FBVGA = Y VTSWITCH = Y FBREVERSE = N # set HAVETEXTMODE=Y for systems that can switch between text & graphics. # On a graphics-only embedded system, such as Osprey and Embedded # Planet boards, set HAVETEXTMODE=N HAVETEXTMODE = Y # svgalib screen driver VGALIB = N # direct VGA hardware access screen driver HWVGA = N #################################################################### GPMMOUSE = Y SERMOUSE = N SUNMOUSE = N NOMOUSE = N IPAQMOUSE = N ZAURUSMOUSE = N TUXMOUSE = N ADSMOUSE = N ADS7846MOUSE = N EPMOUSE = N VHMOUSE = N MTMOUSE = N PSIONMOUSE = N YOPYMOUSE = N HARRIERMOUSE = N # keyboard or null kbd driver TTYKBD = N SCANKBD = Y PIPEKBD = N IPAQKBD = N LIRCKBD = N NOKBD = N endif #################################################################### SA1100_LCD_LTLEND = N INVERT4BPP = N #################################################################### ifeq ($(ARCH), RTEMS) # Location & BSP information of the RTEMS build RTEMS_BUILD = /tools/build-i386-elf-rtems RTEMS_BSP = pc386 LINK_APP_INTO_SERVER = Y endif endif #################################################################### ifeq ($(ARCH), ELKS) # Higher speed asm driver, c driver of hercules screen driver ASMVGADRIVER = Y CVGADRIVER = N HERCDRIVER = N DBGDRIVER = N # Mouse support SERMOUSE = Y endif I am using Linux FC4 on my desktop pc ...... If any of you have an idea to the mentioned problem please do share with me .....or else if any of you have the above problem and got rid of it please share me your experience with me ....... looking forward for your reply soon ...... Thank you .... Misbah -- Want an e-mail address like mine? Get a free e-mail account today at www.mail.com! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |