fixed text style properties not inheriting font weight