schacon / git-scribe

basically the best way to write an ebook
MIT License
1.35k stars 121 forks source link

unable to add Hindi Unicode in book #50

Open nsisodiya opened 11 years ago

nsisodiya commented 11 years ago

In my book, I need to write in Hindi Language !! When I try to create a pdf file, I get following error. Glyph "र" (0x930, radeva) not available in font "Times-Roman". please help ! How I can add new fonts ??

git scribe gen pdf GENERATING PDF GENERATING DOCBOOK

Making portrait pages on A4 paper (210mmx297mm) XSLT Highlighter: Cannot read xslthl-config.xml, no custom highlighters will be available. Loading Xslthl configuration from file:///usr/local/Cellar/docbook/5.0/docbook/xsl/1.76.1/highlighting/xslthl-config.xml... [warning] /usr/bin/fop: Unable to locate servlet-api in /usr/share/java Image not found. URI: images/icons/tip.png. (See position 3:2513) Image not found. URI: images/icons/important.png. (See position 3:3367) Image not found. URI: images/icons/warning.png. (See position 3:4239) Image not found. URI: images/icons/caution.png. (See position 3:5109) Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400". Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400". Glyph "र" (0x930, radeva) not available in font "Times-Roman". Glyph "ा" (0x93e, aavowelsigndeva) not available in font "Times-Roman". Glyph "ज" (0x91c, jadeva) not available in font "Times-Roman". Glyph "ी" (0x940, iivowelsigndeva) not available in font "Times-Roman". Glyph "व" (0x935, vadeva) not available in font "Times-Roman". Glyph "द" (0x926, dadeva) not available in font "Times-Roman". Glyph "क" (0x915, kadeva) not available in font "Times-Roman". Glyph "्" (0x94d, viramadeva) not available in font "Times-Roman". Image not found. URI: images/icons/tip.png. (No context info available) Image not found. URI: images/icons/important.png. (No context info available) Image not found. URI: images/icons/warning.png. (No context info available) Image not found. URI: images/icons/caution.png. (No context info available)

rahmanusta commented 10 years ago

Did you find any solution ?

nsisodiya commented 10 years ago

I stopped working on that project, in future I may try !

zoechi commented 9 years ago

A workaround might be to remove the preamble see http://japhr.blogspot.co.at/2011/12/git-scribe-syntax-highlighting-on.html for more details

zoechi commented 9 years ago

For me fixing the path to xslthl-config.xml in /var/lib/gems/2.1.0/gems/git-scribe-0.1.1/docbook-xsl/fo.xsl solved it.