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

Error indicated when using Escher.fonttype method #170

Open
kkruups opened this issue Jul 27, 2016 · 0 comments
Open

Error indicated when using Escher.fonttype method #170

kkruups opened this issue Jul 27, 2016 · 0 comments

Comments

@kkruups
Copy link
Contributor

kkruups commented Jul 27, 2016

Problem: sanserif error indicated when using Escher.fonttype method

Expected: expected font type to change to sanserif font without error

Error Message

Error handling websocket connection:
UndefVarError: sanserif not defined
in main at C:\sandbox\julia_sandbox\escherbox\demo.jl:7

How to reproduce (code snippet)
Use sanserif as argument for fonttype method
Behavior exhibited using code snippet below

`
 function main(window)

    title(4, "Julia Rules!") |> pad(1em) |> fonttype(sanserif) |> fontcase(lcase) 
           |> textalign(centertext) |>                fillcolor("tomato")

end
`

Additional Info
(also fonttype does not appear to change when executing other fonttypes, slabserif, serif, monospace with Escher.fonttype method, the same font is displayed < see png image > )

Environment
julia v0.4.6 (using repl)
Escher v0.3.2
Win7
Chrome Browser Version 51.0.2704.106 m

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