EPUB3でのフォント埋め込みをKindleでテスト
埋め込みフォントがKindleで表示されるかテストするためのhtmlファイル
<html> <head> <title>font test</title> <meta http-equiv="content-Type" content="text/html; charset=utf-8"> <style type="text/css"> @font_face { font-family: "Inconsolata"; src: url("Inconsolata.otf") format("opentype") } .embedded { font-family: Inconsolata; } </style> </head> <body> <p>これは普通の段落。This is a paragraph.</p> <p class="embedded">これはclassを指定した文章, This is a paragraph with class.</p> </body> </html>
これをKindleGenでmobiファイルにしてからKindle Previwerで表示。
うまく行った ^^。