Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Use blockdiag_fontpath on windows #4

Open
cricrazy opened this issue Jul 8, 2016 · 0 comments
Open

How to Use blockdiag_fontpath on windows #4

cricrazy opened this issue Jul 8, 2016 · 0 comments

Comments

@cricrazy
Copy link

cricrazy commented Jul 8, 2016

I have blockdiag installed on Windows. The diagrams show up fine, but I cannot modify the font or font size. Can you give me a simple example of it? Currently I am adding it in my rst file.

.. confval:: blockdiag_fontpath=c:\windows\fonts\arial.ttf

I also tried to add in conf.py without any success.

Fontpath for blockdiag (truetype font)

blockdiag_fontpath = 'c:\windows\fonts\arial.ttf'

Here is my content.

Process Chart

.. blockdiag::

blockdiag {
  // set default shape
  default_shape = roundedbox
  orientation=portrait
  default_fontsize = 18
  node_width = 300

  Process1 -> Process2 -> Process3
}

.. confval:: blockdiag_fontpath='c:/windows/fonts/Arial.ttf'
.. confval:: blockdiag_antialias = 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant