From 47eda0bc803cf5cb7942767f0564804b6ee2e79b Mon Sep 17 00:00:00 2001 From: kyak Date: Sat, 20 Nov 2010 15:26:12 +0300 Subject: [PATCH] netsurf: enable freetype --- netsurf/Makefile | 2 +- netsurf/files/Makefile.config | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/netsurf/Makefile b/netsurf/Makefile index 01ea60c..bc7e52f 100644 --- a/netsurf/Makefile +++ b/netsurf/Makefile @@ -21,7 +21,7 @@ define Package/netsurf CATEGORY:=Network TITLE:=netsurf URL:=http://www.netsurf-browser.org/ - DEPENDS:=+libsdl +libcss +libhubbub +libparserutils +libnsfb +libxml2 +libcurl + DEPENDS:=+libsdl +libcss +libhubbub +libparserutils +libnsfb +libxml2 +libcurl +libfreetype endef define Package/netsurf/description diff --git a/netsurf/files/Makefile.config b/netsurf/files/Makefile.config index 0bf00fc..1ae1e7c 100644 --- a/netsurf/files/Makefile.config +++ b/netsurf/files/Makefile.config @@ -14,3 +14,16 @@ override NETSURF_USE_BMP := NO override NETSURF_USE_GIF := NO override NETSURF_USE_MNG := NO +override NETSURF_FB_FONTLIB := freetype + + # freetype compiled in font locations +override NETSURF_FB_FONT_SANS_SERIF := /usr/share/fonts/ttf-dejavu/DejaVuSans.ttf +override NETSURF_FB_FONT_SANS_SERIF_BOLD := /usr/share/fonts/ttf-dejavu/DejaVuSans-Bold.ttf +override NETSURF_FB_FONT_SANS_SERIF_ITALIC := /usr/share/fonts/ttf-dejavu/DejaVuSans-Oblique.ttf +override NETSURF_FB_FONT_SANS_SERIF_ITALIC_BOLD := /usr/share/fonts/ttf-dejavu/DejaVuSans-BoldOblique.ttf +override NETSURF_FB_FONT_SERIF := /usr/share/fonts/ttf-dejavu/DejaVuSerif.ttf +override NETSURF_FB_FONT_SERIF_BOLD := /usr/share/fonts/ttf-dejavu/DejaVuSerif-Bold.ttf +override NETSURF_FB_FONT_MONOSPACE := /usr/share/fonts/ttf-dejavu/DejaVuSansMono.ttf +override NETSURF_FB_FONT_MONOSPACE_BOLD := /usr/share/fonts/ttf-dejavu/DejaVuSansMono-Bold.ttf +override NETSURF_FB_FONT_CURSIVE := /usr/share/fonts/msttcorefonts/Comic_Sans_MS.ttf +override NETSURF_FB_FONT_FANTASY := /usr/share/fonts/msttcorefonts/Impact.ttf