Error in log - Ariel.ttf/otf

Dani_S 3,891 Reputation points
2024-12-29T14:14:06.4533333+00:00

Hi,

I got this error in log all times, why ?

Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,783 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,506 Reputation points Microsoft Vendor
    2024-12-30T02:04:31.7466667+00:00

    Hello,

    This is a non-fatal error, which means an error that does not crash the program at runtime.

    This error occurs when a font that does not exist in the Fonts folder is referenced.

    For example: If you set the font for a page FontFamily="Arial" and it does not exist, the application will display this error message when it starts and will switch to the default font.

    Workaround: Check your xaml page and remove the wrong reference to the font.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.