Merge "Fix bugs in FontResourcesParser and add coretests"