http://kldp.org/node/109178
오늘 ubuntu 12.10 으로 업그레이드하면서 다시 확인해봤는데 역시나~~
이것저것 삽질하다 보니 짜안 한글이 TT_TT..
/usr/share/pyshared/wikipiprint/defaults.py 를 아래와 같이 수정.
- 원본..
"""
Author: Alvaro Iradier
"""
#Default CSS to use for xhtml2pdf
CSS = """
html {
font-family: Helvetica;
font-size: 10px;
font-weight: normal;
color: #000000;
background-color: transparent;
- 수정본
"""
Author: Alvaro Iradier
"""
#Default CSS to use for xhtml2pdf
CSS = """
@font-face {
font-family: NanumGothic;
src: url(file:///usr/share/fonts/truetype/nanum/NanumGothic.ttf);
}
html {
font-family: NanumGothic;
font-size: 10px;
font-weight: normal;
color: #000000;
background-color: transparent;