Foros del Web » Programando para Internet » PHP »

TCPDF Admite chino?

Estas en el tema de TCPDF Admite chino? en el foro de PHP en Foros del Web. Hola! Me han pedido que implemente con esta librería en una aplicacion php unos archivos de salida en pdf pero con ciertas palabras en chino, ...
  #1 (permalink)  
Antiguo 20/02/2012, 04:02
 
Fecha de Ingreso: abril-2011
Mensajes: 7
Antigüedad: 13 años
Puntos: 0
TCPDF Admite chino?

Hola! Me han pedido que implemente con esta librería en una aplicacion php unos archivos de salida en pdf pero con ciertas palabras en chino, el titulo, la direccion.. ¿Sabeis como puedo hacerlo?

Gracias!
  #2 (permalink)  
Antiguo 20/02/2012, 07:17
Avatar de repara2  
Fecha de Ingreso: septiembre-2010
Ubicación: München
Mensajes: 2.445
Antigüedad: 13 años, 7 meses
Puntos: 331
Respuesta: TCPDF Admite chino?

Lee la documentación de la librería:

TCPDF supports TrueTypeUnicode (UTF-8 Unicode), OpenTypeUnicode, TrueType, OpenType, Type1, CID-0 and Core (standard) fonts.
There are two ways to use a new font: embedding it in the PDF (with or without subsetting) or not. When a font is not embedded, it is searched in the system. The advantage is that the PDF file is lighter; on the other hand, if it is not available, a substitution font is used. So it is preferable to ensure that the needed font is installed on the client systems. If the file is to be viewed by a large audience, it is recommended to embed.
__________________
Fere libenter homines, id quod volunt, credunt.
  #3 (permalink)  
Antiguo 20/02/2012, 07:20
Avatar de CesarHC  
Fecha de Ingreso: junio-2011
Ubicación: localhost
Mensajes: 566
Antigüedad: 12 años, 10 meses
Puntos: 56
Respuesta: TCPDF Admite chino?

Yo recuerdo aver visto el idioma chino en los archivos que vienen con la libreria pero aparte tendrias que bajarte las fuentes de ese idioma supongo.
__________________
Solo la práctica no te traicionara ¡¡¡¡¡¡

Seguir el camino tu debes PHP The Right Way.
  #4 (permalink)  
Antiguo 21/02/2012, 01:59
 
Fecha de Ingreso: abril-2011
Mensajes: 7
Antigüedad: 13 años
Puntos: 0
Respuesta: TCPDF Admite chino?

Gracias por vuestras respuestas.. ¿Sabeis como hacerlo en la práctica?

Etiquetas: admite, tcpdf
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 07:22.