1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How do I write non-English text on image using php

Discussion in 'PHP' started by JEET, Nov 26, 2020.

  1. #1
    How do I write non-English text on image using php

    Here's my situation.
    Mobile users have an option to switch their keyboards to a different language.
    Some users might be using a chinese language keyboard, some might use Italian, some might use Indian hindi, or Indian Bengali etc etc.
    Most are using default English keyboard.

    Now I want to take the text they entered and put it on an image, as caption.
    I know how to do this with English text.
    That is no problem.

    How do I do it if they are using some other language?
    Is there a global font file I can use?

    If not, where can I download those language font files which these devices are using?
    And most important, how do I find out which language they typed in?

    Any help is greatly appreciated.
     
    JEET, Nov 26, 2020 IP
  2. c1lonewolf

    c1lonewolf Member

    Messages:
    57
    Likes Received:
    21
    Best Answers:
    1
    Trophy Points:
    33
    #2
    best guess is to go to a fontograpgy site and ask them or post the question to google
     
    c1lonewolf, Dec 4, 2020 IP
    JEET likes this.
  3. JEET

    JEET Notable Member

    Messages:
    3,825
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #3
    This should not be very difficult. I do not need to translate, I just need proper font file I think. Text is already in the language of the user.
     
    JEET, Dec 4, 2020 IP