This can happen because the same font name doesn’t always mean identical rendering across platforms. Different font files, versions, fallback fonts, or browser and operating system rendering can change the appearance and size. It may help to check whether both pieces are using the exact same Arial version. For more background on font technology and consistency, https://typetype.org/ covers various aspects of professional font development and mastering. Comparing the rendered output across devices can also reveal where the difference starts.
This can happen because the same font name doesn’t always mean identical rendering across platforms. Different font files, versions, fallback fonts, or browser and operating system rendering can change the appearance and size. It may help to check whether both pieces are using the exact same Arial version. For more background on font technology and consistency, https://typetype.org/ covers various aspects of professional font development and mastering. Comparing the rendered output across devices can also reveal where the difference starts.