On Sep 10, 4:01 pm, Pavel Kosina <[EMAIL PROTECTED]> wrote:
> ralsina napsal(a):
>
> > Ok, I misspoke. In Windows it's slightly more complex unless you
> > install fontconfig, which I am not even sure is possible.
>
> well, finally the embeding the unicode fonts should look at least like
> this (thanks to Roberto Alsina):
>
> verdana.style (utf8):
>
> {
>    "embeddedFonts" :
> [["verdana.ttf","verdanai.ttf","verdanab.ttf","verdanaz.ttf"],
> ["cour.ttf","couri.ttf","courb.ttf","cour.ttf"]],
>    "fontsAlias" : {
>      "stdFont": "verdana",
>      "stdBold": "verdanab",
>      "stdItalic": "verdanai",
>      "stdBoldItalic": "verdanaz",
>      "stdMono": "cour",
>      "stdMonoItalic": "couri",
>      "stdMonoBold": "courb",
>      "stdMonoBoldItalic": "courb",
>      "stdSerif": "cour"
>    }
>
> }
>
> and the command on windows is:
> rst2pdf somefile -s verdana.style --font-path=c:/windows/fonts
>
> I know its little offtopic, but someone might try it ... Anyway json
> syntax of styles is quite strange and complicated. For example there can
> not be comma after last "cour" ;-)

You are replacing courier with courier (or you have unicode in your
code?),
but yeah, that's the syntax, and no, I'm not terribly happy with it
myself.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to