public static void Invalidate( dfFontBase font )
	{

		if( font == null || !( font is dfDynamicFont ) )
			return;

		if( !dirty.Contains( font ) )
		{
			dirty.Add( font );
		}

	}
    public static void Invalidate(dfFontBase font)
    {
        if (font == null || !(font is dfDynamicFont))
        {
            return;
        }

        if (!dirty.Contains(font))
        {
            dirty.Add(font);
        }
    }
    public static void FlagPendingRequests(dfFontBase font)
    {
        var dynamicFont = font as dfDynamicFont;

        if (dynamicFont != null)
        {
            if (!rebuildList.Contains(dynamicFont))
            {
                rebuildList.Add(dynamicFont);
            }
        }
    }
	public static void FlagPendingRequests( dfFontBase font )
	{

		var dynamicFont = font as dfDynamicFont;
		if( dynamicFont != null )
		{
			if( !rebuildList.Contains( dynamicFont ) )
			{
				rebuildList.Add( dynamicFont );
			}
		}
		
	}
	public static bool IsDirty( dfFontBase font )
	{
		return dirty.Contains( font );
	}
 public static bool IsDirty(dfFontBase font)
 {
     return(dirty.Contains(font));
 }