Only modify the loca table is there is such a table.
Separate out the logic of computing advanceWidthMax from minLeftSideBearing, minRightSideBearing, and xMaxExtent for minimal fonts.
Merge branch 'master' of https://github.com/roozbehp/fonttools