Skip to content
This repository was archived by the owner on Jan 18, 2020. It is now read-only.
This repository was archived by the owner on Jan 18, 2020. It is now read-only.

we drop some intersections in large complex composite shapes (text) #42

Closed

Description

@tocsoft

cross posted from SixLabors/ImageSharp#572 to enable investigation
generate a large amount of text using some text using this code as a guide

TextOptions = new TextGraphicsOptions
            {
                Antialias = true,
                ApplyKerning = true, 
                VerticalAlignment = VerticalAlignment.Top,
                HorizontalAlignment = HorizontalAlignment.Left,
                WrapTextWidth = PageSize.Width
            };


 using (Image<Rgba32> img = new Image<Rgba32>(PageSize.Width, PageSize.Height))
            {
                img.MetaData.HorizontalResolution = 300;
                img.MetaData.VerticalResolution = 300;

                img.Mutate(x =>
                    x.Fill(Rgba32.White)
                        .DrawText(TextOptions, text, Font, Rgba32.Black, new PointF(10, 5))

                );
                img.Save($"output/0.png");   

we are dropping more and more intersections over the render (could this be due to Vector2 jitting issues?)

Activity

  1. tocsoft commented on May 30, 2018

    @tocsoft
    MemberAuthor

    fixed by #43

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions