Skip to content

adjust width and correct spelling font Helvetica#2

Open
joaocmendonca wants to merge 1 commit intojasonreisman:masterfrom
joaocmendonca:master
Open

adjust width and correct spelling font Helvetica#2
joaocmendonca wants to merge 1 commit intojasonreisman:masterfrom
joaocmendonca:master

Conversation

@joaocmendonca
Copy link
Copy Markdown

  • adjust width (create a 40% wider image)
  • correct spelling for font_family s/Helevetica/Helvetica/g.
    -- Thanks for this simple and great tool!

transform = "rotate(180, %i, 0)" % (x)
self.g_axis.add(self.drawing.text(label, insert=(x, -2*dy), stroke='none', fill=fill, font_family='Helevetica', font_size='6pt', text_anchor='end', writing_mode='tb', transform=transform))
h = self.get_text_metrics('Helevetica', 6, label)[0] + 2*dy
self.g_axis.add(self.drawing.text(label, insert=(x, -2*dy), stroke='none', fill=fill, font_family='Helvetica', font_size='6pt', text_anchor='end', writing_mode='tb', transform=transform))
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops - good catch.

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

Successfully merging this pull request may close these issues.

2 participants