PANGO_ENGINE_TYPE_SHAPE in Thai Pango Engine



Hi Owen,

Just let you know that thai_engine_x_new() in Thai Pango engine,
shouldn't it be the type "PANGO_ENGINE_TYPE_SHAPE". It might be just mis-typo.


static PangoEngine *
thai_engine_x_new ()
{
	 PangoEngineShape *result;
 
  result = g_new (PangoEngineShape, 1);

  result->engine.id = "ThaiScriptEngine";
  result->engine.type = PANGO_ENGINE_TYPE_LANG;   <--- PANGO_ENGINE_TYPE_SHAPE
  result->engine.length = sizeof (result);
  result->script_shape = thai_engine_shape;
  result->get_coverage = thai_engine_get_coverage;

  return (PangoEngine *)result;
}

Chookij V.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]