improve type1 getglyphpath call and return values