DocBook Korea
Docbook Korea 게시판
FAQ
검색
멤버리스트
사용자 그룹
사용자 등록하기
개인 정보
비공개 메시지를 확인하려면 로그인하십시오
로그인
[홈으로]
[위키]
DocBook Korea 게시판 인덱스
->
기타 자료
답글 올리기
사용자 이름(id)
주제
메시지 본문
이모티콘
이모티콘 보기
글꼴색:
초기값
어두운 적색
적색
오렌지색
갈색
노란색
녹색
올리브색
하늘색
청색
어두운 청색
남색
자주색
흰색
흑색
글꼴 크기:
글꼴 크기
아주작게
작게
보통
크게
아주크게
태그 닫기
[quote="류광"]위의 파일 중 conf/fop-config.xml 에 문제가 있습니다. 13번째 줄에 <base>../</base>라고 되어 있는데요. 의도는 fop-config.xml이 있는 디렉터리(docbook/conf/)를 기준으로 하나 올라간 docbook/를 지정하는 것이었는데, 알고 보니 FOP가 실행된 현재 작업 디렉터리가 기준이었습니다. 현재 작업 디렉터리에 무관하게 FOP가 글꼴들을 제대로 찾을 수 있으려면 ../를 docbook/ 디렉터리에 해당하는 절대 경로 URI로 바꾸어야 합니다. 절차는 다음과 같습니다. 1. docbook/의 configure.bat을 실행하세요. 그러면 conf/fop-config.xml 이 예전 상태로 복구됩니다. 2. 텍스트 편집기로 conf/fop-config.xml 를 열어서, [code] <!-- +++ font configuration for [UnTaza] +++ --> <font kerning="yes" metrics-url="fonts/UnTaza.xml" embed-url="fonts/UnTaza.ttf"> <font-triplet style="normal" weight="normal" name="UnTaza"/> <font-triplet style="italic" weight="normal" name="UnTaza"/> <font-triplet style="normal" weight="bold" name="UnTaza"/> </font> [/code] 를 다음으로 대체하세요. [code] <!-- +++ font configuration for [UnTaza] +++ --> <font kerning="yes" metrics-url="fonts/UnTaza.xml" embed-url="fonts/UnTaza.ttf"> <font-triplet style="normal" weight="normal" name="UnTaza"/> <font-triplet style="italic" weight="normal" name="UnTaza"/> <font-triplet style="normal" weight="bold" name="UnTaza"/> </font> <!-- +++ font configuration for [NanumGothic_Coding] +++ --> <font kerning="yes" metrics-url="fonts/NanumGothicCoding.xml" embed-url="fonts/NanumGothicCoding.ttf"> <font-triplet style="normal" weight="normal" name="monospace"/> <font-triplet style="italic" weight="normal" name="monospace"/> <font-triplet style="normal" weight="normal" name="NanumGothicCoding"/> <font-triplet style="italic" weight="normal" name="NanumGothicCoding"/> </font> <!-- +++ font configuration for [NanumGothic_Coding_Bold] +++ --> <font kerning="yes" metrics-url="fonts/NanumGothicCoding-Bold.xml" embed-url="fonts/NanumGothicCoding-Bold.ttf"> <font-triplet style="normal" weight="bold" name="monospace"/> <font-triplet style="italic" weight="bold" name="monospace"/> <font-triplet style="normal" weight="bold" name="NanumGothicCoding-Bold"/> <font-triplet style="italic" weight="bold" name="NanumGothicCoding-Bold"/> </font> [/code][/quote]
옵션
HTML
사용
BBCode
사용
스마일
사용
HTML 사용 불가
BBCode 사용 불가
스마일 사용 불가
첨부파일 추가하기
첨부할 파일이 없다면, 아래 공란들을 빈 공란으로 남겨 두십시요.
허용된 확장자명과 파일크기
파일명
파일 설명
스팸봇을 차단하기 위한 확인 코드입니다.: *
위의 그림은 무시하시고,
닥북한국
을 입력하세요.
시간대: GMT + 9 시간(한국)
건너뛰기:
게시판 선택
소식, 공지
----------------
소식과 공지
게시판
----------------
질문과 답변
자유 게시판
자료실
----------------
문서
기타 자료
주제 검토
글쓴이
메시지
haje01
올려짐: 2009-03-06 4:45 pm
주제: 잘 동작합니다.~
안녕하세요?
오랜만에 오니 반가운 소식이 있어 바로 적용해 보았습니다.
이전부터 타자글꼴이 좀 보기가 그랬었는데..
참 이쁘게 잘 나오네요.
감사합니다.~ ^^
류광
올려짐: 2009-02-05 8:39 pm
주제: 글꼴 경로 관련...
위의 파일 중 conf/fop-config.xml 에 문제가 있습니다.
13번째 줄에 <base>../</base>라고 되어 있는데요. 의도는 fop-config.xml이 있는 디렉터리(docbook/conf/)를 기준으로 하나 올라간 docbook/를 지정하는 것이었는데, 알고 보니 FOP가 실행된 현재 작업 디렉터리가 기준이었습니다. 현재 작업 디렉터리에 무관하게 FOP가 글꼴들을 제대로 찾을 수 있으려면 ../를 docbook/ 디렉터리에 해당하는 절대 경로 URI로 바꾸어야 합니다.
절차는 다음과 같습니다.
1. docbook/의 configure.bat을 실행하세요. 그러면 conf/fop-config.xml 이 예전 상태로 복구됩니다.
2. 텍스트 편집기로 conf/fop-config.xml 를 열어서,
코드:
<!-- +++ font configuration for [UnTaza] +++ -->
<font kerning="yes" metrics-url="fonts/UnTaza.xml" embed-url="fonts/UnTaza.ttf">
<font-triplet style="normal" weight="normal" name="UnTaza"/>
<font-triplet style="italic" weight="normal" name="UnTaza"/>
<font-triplet style="normal" weight="bold" name="UnTaza"/>
</font>
를 다음으로 대체하세요.
코드:
<!-- +++ font configuration for [UnTaza] +++ -->
<font kerning="yes" metrics-url="fonts/UnTaza.xml" embed-url="fonts/UnTaza.ttf">
<font-triplet style="normal" weight="normal" name="UnTaza"/>
<font-triplet style="italic" weight="normal" name="UnTaza"/>
<font-triplet style="normal" weight="bold" name="UnTaza"/>
</font>
<!-- +++ font configuration for [NanumGothic_Coding] +++ -->
<font kerning="yes" metrics-url="fonts/NanumGothicCoding.xml" embed-url="fonts/NanumGothicCoding.ttf">
<font-triplet style="normal" weight="normal" name="monospace"/>
<font-triplet style="italic" weight="normal" name="monospace"/>
<font-triplet style="normal" weight="normal" name="NanumGothicCoding"/>
<font-triplet style="italic" weight="normal" name="NanumGothicCoding"/>
</font>
<!-- +++ font configuration for [NanumGothic_Coding_Bold] +++ -->
<font kerning="yes" metrics-url="fonts/NanumGothicCoding-Bold.xml" embed-url="fonts/NanumGothicCoding-Bold.ttf">
<font-triplet style="normal" weight="bold" name="monospace"/>
<font-triplet style="italic" weight="bold" name="monospace"/>
<font-triplet style="normal" weight="bold" name="NanumGothicCoding-Bold"/>
<font-triplet style="italic" weight="bold" name="NanumGothicCoding-Bold"/>
</font>
류광
올려짐: 2009-02-02 11:58 pm
주제: 나눔고딕 코딩 글꼴 및 FOP 글꼴 설정 파일
나눔고딕 코딩 글꼴(
http://dev.naver.com/projects/nanumfont
)과 관련 설정 파일입니다. PDF 생성시 programlisting 등의 요소에 기존의 은타자 대신 나눔고딕 코딩 글꼴이 적용되게 하는 것입니다.
해당 TTF 파일들과 글꼴 정보 XML 파일들, FOP 글꼴 설정 파일이 포함되어 있으며, bin/ttfreader.bat 도 갱신되었습니다. DbkPack 1.0이 설치된 docbook 디렉터리 안에 바로 풀어 넣으면 됩니다. (DbkPack과 무관하게 FOP용으로 사용하고 싶다면 fop-config.xml의 <base>만 적절히 수정하면 될 것입니다.)
문제점이 있으면 보고해 주시고요. 차기 DbkPack에 공식 포함시킬 예정입니다.
p.s. 2009-02-03에 올라온 새 버전(
http://dev.naver.com/projects/nanumfont/download/shownote?release_id=223
)에 맞게 갱신되었습니다.
Powered by
phpBB
© 2001, 2005 phpBB Group
Translated by kss & drssay