fixed an issue where font family styles of a block with the same font family were lost when changing size