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

Text too big on plots #405

Closed
cormullion opened this issue Aug 26, 2014 · 5 comments
Closed

Text too big on plots #405

cormullion opened this issue Aug 26, 2014 · 5 comments

Comments

@cormullion
Copy link

Just wondering why the text is always too big:

julia> using Gadfly
julia> plot(x=rand(10), y=rand(10))

screen shot 2014-08-26 at 07 55 12

@dcjones
Copy link
Collaborator

dcjones commented Aug 26, 2014

It's a Safari bug that I've yet to invent a work around for. In Safari -> Preferences -> Advanced, there's an option "Never use font sizes smaller than". If you uncheck that, it should look correct.

This feature is supposed prevent fonts smaller than 9pt (or whatever it's set to), but it's a broken implementation that doesn't take into account how units work in SVG. Gadfly uses millimeters, and the result is that it prevents fonts less that 9mm, which is 25pt, which is of course really big.

@cormullion
Copy link
Author

OK, thanks!

@Keno
Copy link
Collaborator

Keno commented Aug 27, 2014

@dcjones You could try reporting it on Apple's bugtracker if you haven't already. They're usually pretty responsive.

@dcjones
Copy link
Collaborator

dcjones commented Aug 30, 2014

Good idea. I just did so.

@dfannius
Copy link

For what it's worth, this can occur in Firefox as well (I'm using version 38.0.5 on OS X 10.10.3) with effectively the same workaround (Preferences / Content / Fonts & Colors / Advanced / Minimum Font Size = None). I don't know if they're using the same SVG backend or if it's an independent issue.

I'm also including the phrase "large text" in this comment to make this page easier to find for other people with the same issue (I didn't find it until I searched for "big text").

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

4 participants