Skip to content

Use iOS SDK's Font Registration instead of Resizetizer'sΒ #2617

Open

Description

@Redth

net6.0-ios now has the ability to handle font registration in the info.plist in the core sdk targets.

dotnet/macios@04548c7#diff-2ab18da1f46af5490d67d966e02c6f704a2d576d32067b6fa101d10040267e75R321

Basically, the RegisterFont metadata needs to be set to true in the BundleResource:

<BundleResource Include="*.ttf" RegisterFont="True" />

If we change this: https://github.com/dotnet/maui/blob/main/.nuspec/Microsoft.Maui.Resizetizer.targets#L365 to add the metadata, we can also remove the Font code from the https://github.com/dotnet/maui/blob/main/.nuspec/Microsoft.Maui.Resizetizer.targets#L375 task.

Activity

  1. added
    area-single-project
    on Sep 21, 2021
  2. added
    Task
    on Jul 31, 2023
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

    Taskarea-single-projectplatform/ios

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions