[Linux] fixed horizontal font alignment

kAlignTop and kAlignBottom should center text horizontally
Merge pull request #1932 from Weeds/feature_linux-font-alignment

fixed #1689: [Linux] fixed horizontal font alignment.