FAQ

On Fri, May 20, 2016 at 11:43 PM, Egon wrote:
https://play.golang.org/p/tSfsvuOex_ (set the font path appropriately)
const fontpath = "c:\\Windows\\Fonts\\ariali.ttf "

Watch out for the trailing space in that string literal.

You could also avoid the double-backslashes by using a `backtick
string`. https://golang.org/ref/spec#String_literals

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 5 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedMay 20, '16 at 9:39a
activeMay 24, '16 at 1:06a
posts5
users4
websitegolang.org

4 users in discussion

Sleepy: 2 posts Egon: 1 post Nigel Tao: 1 post Ain: 1 post

People

Translate

site design / logo © 2021 Grokbase