Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/11/2011, 18:04
lubtufano
 
Fecha de Ingreso: julio-2011
Mensajes: 220
Antigüedad: 12 años, 9 meses
Puntos: 72
Respuesta: GD texto en negrita

Lo que a me a funcionado es poner el texto tres o más veces, de esta manera aparece rezaltado, como negrita.
Código PHP:
Ver original
  1. imagettftext ( $imagenCaracCuerpo, $tamañoFuente ,0 , $posIni_x+$margen, $posIni_y +$tamañoFuente+($config->altoRenglon-$tamañoFuente)/2,$colorTextoTitCarac, $fuente , "Características:" );
  2. imagettftext ( $imagenCaracCuerpo, $tamañoFuente ,0 , $posIni_x+$margen, $posIni_y +$tamañoFuente+($config->altoRenglon-$tamañoFuente)/2,$colorTextoTitCarac, $fuente , "Características:" );
  3. imagettftext ( $imagenCaracCuerpo, $tamañoFuente ,0 , $posIni_x+$margen, $posIni_y +$tamañoFuente+($config->altoRenglon-$tamañoFuente)/2,$colorTextoTitCarac, $fuente , "Características:" );

Tambien se puede poner dos veces con dirferencia de +/-1 en la coordena X.

Código PHP:
Ver original
  1. imagettftext ( $imagenCaracCuerpo, $tamañoFuente ,0 , $posIni_x+$margen, $posIni_y +$tamañoFuente+($config->altoRenglon-$tamañoFuente)/2,$colorTextoTitCarac, $fuente , "Características:" );
  2. imagettftext ( $imagenCaracCuerpo, $tamañoFuente ,0 , $posIni_x+1+$margen, $posIni_y +$tamañoFuente+($config->altoRenglon-$tamañoFuente)/2,$colorTextoTitCarac, $fuente , "Características:" );