mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-16 19:17:10 +02:00
netsurf: enable freetype
This commit is contained in:
parent
22c747edd9
commit
47eda0bc80
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user