Visualizzazione dei risultati da 1 a 5 su 5

Discussione: [gd] dimensione font

  1. #1

    [gd] dimensione font

    come posso impostare la dimensione per un font che importo per poi usare con imagestring()?????

    ho dato un'occhiata alle varie funzioni.. ma non ho trovato nulla che mi sembrasse adatto..

  2. #2
    Moderatore di Server Apache L'avatar di marketto
    Registrato dal
    Sep 2001
    Messaggi
    5,858
    "int imagestring ( resource image, int font, int x, int y, string s, int col )

    imagestring() draws the string s in the image identified by image with the upper-left corner at coordinates x, y (top left is 0, 0) in color col. If font is 1, 2, 3, 4 or 5, a built-in font is used. "
    think simple think ringo

  3. #3
    [supersaibal]Originariamente inviato da marketto
    "int imagestring ( resource image, int font, int x, int y, string s, int col )

    imagestring() draws the string s in the image identified by image with the upper-left corner at coordinates x, y (top left is 0, 0) in color col. If font is 1, 2, 3, 4 or 5, a built-in font is used. "
    [/supersaibal]
    sì.. appunto..

    ma se font è il path di un mio font... come faccio a dargli le dimensioni? -.-

  4. #4
    con imagestring non puoi usare un tuo font, lo puoi fare solo con imagettftext()


  5. #5
    [supersaibal]Originariamente inviato da pugia
    con imagestring non puoi usare un tuo font [/supersaibal]
    eppure l'ho fatto

    vedo l'altra funzione

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.