1. Download our Official Android App: Forums for Android!

Custom fonts for Android

Discussion in 'Android Lounge' started by rowan_bradley, Mar 14, 2019.

  1. rowan_bradley

    rowan_bradley Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Jan 14, 2019

    Jan 14, 2019
    2
    0
    5
    I have developed a web app that uses a custom font in a select element. It displays correctly on all browsers that I have tried (IE, Firefox, Desktop Chrome), but on Android phones, instead of displaying the special characters that I have designed, it displays the square block "unknown character" symbol. How do I get it to display the custom characters on Android?

    What type of font file does Android use?

    How does the correct font file get from the server to the browser? Does the browser request the correct file type (e.g. TTF, SVG, WOFF, EOT), or does the server work out which file to send depending on the User Agent header? If the latter, what are the rules it uses? Or does it happen somehow else?

    Thanks - Rowan
     

    Advertisement

  2. Elsner Magento

    Rank:
     #347
    Points:
    26
    Posts:
    20
    Joined:
    Mar 8, 2019

    Android uses the droid sans font file
     

Share This Page

Loading...