Skip to content

Font Support in draw2dgl #109

Open
Open

Description

@redstarcoder

I want to begin by saying I don't have a lot of experience in graphics. I've only ever worked with software graphics.

What's needed to get font support in draw2dgl? I tried copying the draw2dimg functions to draw2dgl/gc.go (and copied over text.go) with about 4 extra lines of changes and it seems to work gloriously. Is this the best method of drawing text?

Even if there's a better way to do it, software rendering seems better than a panic anyways. I could submit these changes as a PR if needed.

Activity

  1. redstarcoder commented on Oct 15, 2016

    @redstarcoder
    ContributorAuthor

    I've forked the repository and committed the changes there for now: redstarcoder@e88d8e4

  2. llgcode commented on Oct 16, 2016

    @llgcode
    Owner

    Sure there's better way. But I agree it's better than a panic you're right.

    -- Laurent.

    On 15 October 2016 at 16:49, redstarcoder notifications@github.com wrote:

    I've forked the repository and committed the changes there for now:
    redstarcoder/draw2d@e88d8e4
    redstarcoder@e88d8e4

    —
    You are receiving this because you are subscribed to this thread.
    Reply to this email directly, view it on GitHub
    #109 (comment), or mute
    the thread
    https://github.com/notifications/unsubscribe-auth/AAf_MyM8GnHfhFnkeTTaoNQj-jxlaV2kks5q0OgQgaJpZM4KXkJ8
    .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions