Monogame: Error in Linux when building SpriteFonts in Pipeline tool

Created on 22 Jun 2017  路  2Comments  路  Source: MonoGame/MonoGame

Hi,

I'm getting an error when building a SpriteFont in the Content Pipeline tool on Linux.

I do not experience the same error when using the tool on Windows.

Building Font /home/****/Projects/****/****/Content/Arial /home/****/Projects/****/****/Content/Arial.spritefont: error: Processor 'FontDescriptionProcessor' had unexpected failure! **** at Microsoft.Xna.Framework.Content.Pipeline.Processors.FontDescriptionProcessor.Process (Microsoft.Xna.Framework.Content.Pipeline.Graphics.FontDescription input, Microsoft.Xna.Framework.Content.Pipeline.ContentProcessorContext context) [0x00173] in <775ee6b08f8441cd9946f7532ebffc51>:0 at Microsoft.Xna.Framework.Content.Pipeline.ContentProcessor2[TInput,TOutput].Microsoft.Xna.Framework.Content.Pipeline.IContentProcessor.Process (System.Object input, Microsoft.Xna.Framework.Content.Pipeline.ContentProcessorContext context) [0x00038] in <775ee6b08f8441cd9946f7532ebffc51>:0
at MonoGame.Framework.Content.Pipeline.Builder.PipelineManager.ProcessContent (MonoGame.Framework.Content.Pipeline.Builder.PipelineBuildEvent pipelineEvent) [0x00163] in <775ee6b08f8441cd9946f7532ebffc51>:0 `

I think this is the same error as issue #4156, as adding a .ttf file of the font with the same name to the target directory fixed the error. However, I still feel that this is a bug as this issue was supposedly fixed with #4496.

Thanks,
Kjav.

Most helpful comment

If that's the case, and can be detected during runtime, then FontDescriptionProcessor should throw a PipelineException with a more specific description.

All 2 comments

You don't have Arial font installed in your system, this is not a bug.

If that's the case, and can be detected during runtime, then FontDescriptionProcessor should throw a PipelineException with a more specific description.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Halofreak1990 picture Halofreak1990  路  4Comments

NET-D3v3l0p3r picture NET-D3v3l0p3r  路  3Comments

Legendree picture Legendree  路  3Comments

tomspilman picture tomspilman  路  4Comments

dazinator picture dazinator  路  5Comments