Skip to content

Texts from SVG files not rendered #107

Closed

Description

@andre2007

If I understand correctly, Image32 should be able to render text, but the texts from this SVG file are not shown.

This is the expected output:

image

but in my FMX application it is rendered like this:

image

This is the SVG file
sample_chords.zip

Is there anything special with the SVG files produced by Verovio causing the texts are not rendered?
(I tested it with latest main of Image32)

Activity

  1. andersmelander commented on Oct 3, 2024

    @andersmelander

    See #59

  2. andre2007 commented on Oct 3, 2024

    @andre2007
    Author

    Thanks for the info, it is strange that it worked for you on Windows 64 by default.

    My issue is on Windows64 and the font is a common one ({font-family:Times,serif;}).
    I will try the recommendation from #59 maybe it solves my issue also on Windows 64.

  3. andersmelander commented on Oct 3, 2024

    @andersmelander

    it worked for you

    I'm just a lurker; I don't use Image32.

    As far as I know the Image32 font manager doesn't automatically resolve and load fonts from the host system. You have to manually add a set of fonts to it and it will then use those to resolve what ever font request it get. There's probably an example that demonstrates how it's done.

  4. AngusJohnson commented on Oct 4, 2024

    @AngusJohnson
    Owner

    As far as I know the Image32 font manager doesn't automatically resolve and load fonts from the host system. You have to manually add a set of fonts to it and it will then use those to resolve what ever font request it get.

    Correct.

    There's probably an example that demonstrates how it's done.

    Correct again 😁. See ./Examples/FMX_SVG.

  5. Repository owner locked and limited conversation to collaborators on Oct 4, 2024
  6. converted this issue into a discussion #108 on Oct 4, 2024
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