# Ionic - Using related font units of android and iOS

**URL:** <https://forum.ionicframework.com/t/ionic-using-related-font-units-of-android-and-ios/137507>\
**Category:** ionic-v3\
**Created:** [August 6, 2018, 11:42am UTC](https://forum.ionicframework.com/t/ionic-using-related-font-units-of-android-and-ios/137507 "2018-08-06T11:42:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravinderk](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@ravinderk](https://forum.ionicframework.com/u/ravinderk)\
**Post date:** [August 6, 2018, 11:42am UTC](https://forum.ionicframework.com/t/ionic-using-related-font-units-of-android-and-ios/137507/1 "2018-08-06T11:42:04Z")

</div>

How to use android’s standard font size unit ‘sp’ and ios font size unit ‘pt’ in ionic app? We are using same code base for both android and ios apps. How can I achieve defining two font size units in single codebase?

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:26pm UTC](https://forum.ionicframework.com/t/ionic-using-related-font-units-of-android-and-ios/137507/2 "2021-07-19T21:26:03Z")

</div>

Closed on July 19, 2021, 9:26pm UTC


