nanogui: FREETYPE_FONT_DIR


Previous by date: 9 Oct 2001 13:35:01 -0000 New version of Microwindows Environment for the Tuxscreen is available, Jordan Crouse
Next by date: 9 Oct 2001 13:35:01 -0000 Re: FREETYPE_FONT_DIR, SangBaek Lee(???)
Previous in thread:
Next in thread: 9 Oct 2001 13:35:01 -0000 Re: FREETYPE_FONT_DIR, SangBaek Lee(???)

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)

Previous by date: 9 Oct 2001 13:35:01 -0000 New version of Microwindows Environment for the Tuxscreen is available, Jordan Crouse
Next by date: 9 Oct 2001 13:35:01 -0000 Re: FREETYPE_FONT_DIR, SangBaek Lee(???)
Previous in thread:
Next in thread: 9 Oct 2001 13:35:01 -0000 Re: FREETYPE_FONT_DIR, SangBaek Lee(???)


Powered by ezmlm-browse 0.20.