nanogui: Thread: FREETYPE_FONT_DIR


[<<] [<] Page 1 of 1 [>] [>>]
Subject: FREETYPE_FONT_DIR
From: Gianci ####@####.####
Date: 9 Oct 2001 13:35:01 -0000
Message-Id: <20011009153309.A6848@freemail.it>

It seems that this little yet bothering typng error has not yet been
reported, so here it is. 

In the Makefile of the engine directory, the freetype fonts directory is
referred with FREETYPE_FONTS_DIR, whereas in the config file and in
devfont.c is referred with FREETYPE_FONT_DIR.

Obviously, the missing or exceeding "S" causes nano-X to never use the
fonts directory specified in the config file, and to always refer to the
default one.

For the lazy ones, the following patch solves the problem.

Microwindows version is 0.89pre7.

Regards,
Gianci
--- patch starts here ---
*** microwin/src/engine/Makefile.orig	Tue Oct  9 15:11:46 2001
--- microwin/src/engine/Makefile	Tue Oct  9 15:12:03 2001
***************
*** 34,41 ****
  OBJS += devtimer.o
  #endif
  
! ifneq ($(FREETYPE_FONTS_DIR), )
! CFLAGS += -DFREETYPE_FONTS_DIR="\"$(FREETYPE_FONTS_DIR)"\"
  endif
  
  ifneq ($(ARCH), ELKS)
--- 34,41 ----
  OBJS += devtimer.o
  #endif
  
! ifneq ($(FREETYPE_FONT_DIR), )
! DEFINES += -DFREETYPE_FONT_DIR="\"$(FREETYPE_FONT_DIR)\""
  endif
  
  ifneq ($(ARCH), ELKS)
Subject: Re: [nanogui] FREETYPE_FONT_DIR
From: "SangBaek Lee(=?ISO-8859-1?Q?=3F=3F=3F?=)" ####@####.####
Date: 10 Oct 2001 01:40:20 -0000
Message-Id: <3BC3A6AE.7020404@neomuse.com>

This is already posted before, and Greg fixed it on CVS.
See the archive for more information.

Gianci wrote:

>It seems that this little yet bothering typng error has not yet been
>reported, so here it is. 
>
>In the Makefile of the engine directory, the freetype fonts directory is
>referred with FREETYPE_FONTS_DIR, whereas in the config file and in
>devfont.c is referred with FREETYPE_FONT_DIR.
>
>Obviously, the missing or exceeding "S" causes nano-X to never use the
>fonts directory specified in the config file, and to always refer to the
>default one.
>
>For the lazy ones, the following patch solves the problem.
>
>Microwindows version is 0.89pre7.
>
>Regards,
>Gianci
>--- patch starts here ---
>*** microwin/src/engine/Makefile.orig	Tue Oct  9 15:11:46 2001
>--- microwin/src/engine/Makefile	Tue Oct  9 15:12:03 2001
>***************
>*** 34,41 ****
>  OBJS += devtimer.o
>  #endif
>  
>! ifneq ($(FREETYPE_FONTS_DIR), )
>! CFLAGS += -DFREETYPE_FONTS_DIR="\"$(FREETYPE_FONTS_DIR)"\"
>  endif
>  
>  ifneq ($(ARCH), ELKS)
>--- 34,41 ----
>  OBJS += devtimer.o
>  #endif
>  
>! ifneq ($(FREETYPE_FONT_DIR), )
>! DEFINES += -DFREETYPE_FONT_DIR="\"$(FREETYPE_FONT_DIR)\""
>  endif
>  
>  ifneq ($(ARCH), ELKS)
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ####@####.####
>For additional commands, e-mail: ####@####.####
>
>
>.
>



[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.