remove trailing white space
(cherry picked from commit b8655cb58e6b9065d46c41a8c345fff60ebc39a3)
change base for custom aspect from 10,000 to 1,000,000

Patch by FU-REN XIAO (蕭輔仁)

Fixes #11996
(cherry picked from commit af4635569c4facacde9c089ca0be712797bfdc75)