Commit e8c634e7 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

install basic latin and japanese fonts under parts/fonts and specify this...

install basic latin and japanese fonts under parts/fonts and specify this directory in our fontconfig.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40994 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3264f61d
...@@ -10,6 +10,7 @@ extends = ...@@ -10,6 +10,7 @@ extends =
../software-profiles/products-erp5.cfg ../software-profiles/products-erp5.cfg
../software-profiles/erp5-2.12.cfg ../software-profiles/erp5-2.12.cfg
../software-profiles/file.cfg ../software-profiles/file.cfg
../software-profiles/fonts.cfg
../software-profiles/garbage-collector.cfg ../software-profiles/garbage-collector.cfg
../software-profiles/graphviz.cfg ../software-profiles/graphviz.cfg
../software-profiles/tokyocabinet.cfg ../software-profiles/tokyocabinet.cfg
...@@ -67,6 +68,10 @@ parts = ...@@ -67,6 +68,10 @@ parts =
precache-eggs precache-eggs
software_home software_home
# fonts
liberation-fonts
ipaex-fonts
[bootstrap2.6] [bootstrap2.6]
# as bootstrap in python software does not know that slapos.rebootstrap >= 2.0 # as bootstrap in python software does not know that slapos.rebootstrap >= 2.0
# is used it is required to go back to default -- use own version of python # is used it is required to go back to default -- use own version of python
......
...@@ -11,6 +11,7 @@ extends = ...@@ -11,6 +11,7 @@ extends =
../software-profiles/apache.cfg ../software-profiles/apache.cfg
../software-profiles/erp5.cfg ../software-profiles/erp5.cfg
../software-profiles/file.cfg ../software-profiles/file.cfg
../software-profiles/fonts.cfg
../software-profiles/garbage-collector.cfg ../software-profiles/garbage-collector.cfg
../software-profiles/graphviz.cfg ../software-profiles/graphviz.cfg
../software-profiles/tokyocabinet.cfg ../software-profiles/tokyocabinet.cfg
...@@ -77,6 +78,10 @@ parts = ...@@ -77,6 +78,10 @@ parts =
pythonbin2.4 pythonbin2.4
software_home software_home
# fonts
liberation-fonts
ipaex-fonts
[software_definition] [software_definition]
software_home = ${buildout:software_home} software_home = ${buildout:software_home}
# as mysql-python part, which uses mysql-python-env is not depending directly # as mysql-python part, which uses mysql-python-env is not depending directly
......
[buildout] [buildout]
extends = extends =
../software-profiles/fonts.cfg
../software-profiles/freetype.cfg ../software-profiles/freetype.cfg
../software-profiles/libexpat.cfg ../software-profiles/libexpat.cfg
../software-profiles/zlib.cfg ../software-profiles/zlib.cfg
...@@ -13,6 +14,7 @@ url = http://fontconfig.org/release/fontconfig-2.8.0.tar.gz ...@@ -13,6 +14,7 @@ url = http://fontconfig.org/release/fontconfig-2.8.0.tar.gz
md5sum = 77e15a92006ddc2adbb06f840d591c0e md5sum = 77e15a92006ddc2adbb06f840d591c0e
configure-options = configure-options =
--disable-docs --disable-docs
--with-default-fonts=${fonts:location}
--with-expat=${libexpat:location} --with-expat=${libexpat:location}
--with-freetype-config=${freetype:location}/bin/freetype-config --with-freetype-config=${freetype:location}/bin/freetype-config
environment = environment =
......
[buildout]
parts =
liberation-fonts
ipaex-fonts
[fonts]
location = ${buildout:parts-directory}/${:_buildout_section_name_}
# Liberation(tm) Fonts - a font family which aims at metric
# compatibility with Arial, Times New Roman, and Courier New.
# https://fedorahosted.org/liberation-fonts/
[liberation-fonts]
recipe = hexagonit.recipe.download
strip-top-level-dir = true
url = https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-1.06.0.20100721.tar.gz
md5sum = ca4870d899fd7e943ffc310a5421ad4d
destination = ${fonts:location}/${:_buildout_section_name_}
# IPAex Font - Japanese fonts provided by IPA
# http://ossipedia.ipa.go.jp/ipafont/index.html
[ipaex-fonts]
recipe = hexagonit.recipe.download
strip-top-level-dir = true
url = http://ossipedia.ipa.go.jp/ipafont/IPAexfont00102.php
md5sum = 3523edc3ef24f99c6d10781ad87c497a
destination = ${fonts:location}/${:_buildout_section_name_}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment