2
구경 프로젝트에서 ebook-convert
을 사용하여 글꼴이 포함 된 EPUB 파일을 생성 중입니다. 나는 HTML에서 여러 글꼴 얼굴을 선언 할 때, 그것을 잘 작동합니다 :epub에서 여러 @ font-face가 무시되었습니다.
을하지만 EPUB으로 변환 할 때, 난 단지 전체 문서에 대한 첫 번째 글꼴을 얻을 :
<html>
<head>
<style type="text/css">
@font-face{
font-family: "test";
font-style: normal;
font-weight: normal;
font-variant: normal;
src: url(fonts/EBGaramond12-Regular.otf);
}
@font-face{
font-family: "test";
font-style: italic;
font-weight: normal;
font-variant: normal;
src: url(fonts/EBGaramond12-Italic.otf);
}
body{
font-family: "test";
}
</style>
</head>
<body>
This is a test with <i>italic</i>.
</body>
</html>
가 생산 :
EPUB의 문제점은 무엇입니까? 글꼴을 틀리게 선언 했습니까?
감사합니다. 참으로 유일한 해결책 인 것 같습니다. –