Skip to content

Information on cross-platform output #28

Closed

Description

@wch

It would be helpful if ragg had documentation on what's needed for pixel-perfect image output across platforms. This would help for graphical testing that can run on different platforms. Does it simply require that the same fonts are installed everywhere? I suppose they would somehow also need to be set as the default fonts that R would select.

Activity

  1. thomasp85 commented on Oct 11, 2019

    @thomasp85
    Member

    Yeah, the only thing between platforms are the fonts. If the same font is available and chosen it should be identical across platforms. For testing I’d maybe just use graphics not containing any fonts?

    If you go with defaults then the chosen fonts will differ across systems as it chooses one that is sure to exist. The next version of systemfonts allow more control over how fonts are chose

  2. thomasp85 commented on Mar 31, 2020

    @thomasp85
    Member

    Do you need any additional info on this?

  3. wch commented on Apr 7, 2020

    @wch
    MemberAuthor

    That's good, thanks.

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