font arial narrow problem

836 views
Skip to first unread message

rodrigo saavedra

unread,
Apr 25, 2012, 8:55:49 AM4/25/12
to dompdf
good afternoon, I tried to install the font arial narrow (in linux
operating system), but have not succeeded.

Some help please.

BrianS

unread,
Apr 25, 2012, 1:56:22 PM4/25/12
to dom...@googlegroups.com

Which version of dompdf are you using? How are you attempting to install the font? Do you receive any error messages?

Rodrigo Saavedra Aldana

unread,
Apr 25, 2012, 2:21:20 PM4/25/12
to dom...@googlegroups.com
Version 0.5.2 and 0.6 version 0.5 installed on the source file using the load_font.php (remove sources of difrectorio the c: \ windows \ fonts \ windows) in the version 0.6 please use the setup file and that load_font.php version brings. which tells me that the source is invalidated.

Thanks
--
You received this message because you are subscribed to the Google Groups "dompdf" group.
To view this discussion on the web visit https://groups.google.com/d/msg/dompdf/-/Vx4RzESA9HkJ.
To post to this group, send email to dom...@googlegroups.com.
To unsubscribe from this group, send email to dompdf+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dompdf?hl=en.

BrianS

unread,
Apr 25, 2012, 2:51:39 PM4/25/12
to dom...@googlegroups.com
Can you post the exact message you receive? Also, can you post the font somewhere so we can take a look at it?



On Wednesday, April 25, 2012 2:21:20 PM UTC-4, rodrigo saavedra wrote:
Version 0.5.2 and 0.6 version 0.5 installed on the source file using the load_font.php (remove sources of difrectorio the c: \ windows \ fonts \ windows) in the version 0.6 please use the setup file and that load_font.php version brings. which tells me that the source is invalidated.

Thanks

Rodrigo Saavedra Aldana

unread,
Apr 25, 2012, 3:21:04 PM4/25/12
to dom...@googlegroups.com
cuando instalo con setup me dice "fuente invalida" ,cuando lo hago por consola me genera los archivos ufm y copia los ttf en la carpeta fonts pero al tratar de utilizar la fuente cargada no opera.
le adjunto link para descargar fuentes

http://portalink.cl/arialn.zip

the only thing done to ttf files, was left in lower case the name of each file ttf



2012/4/25 BrianS <eclect...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "dompdf" group.
To view this discussion on the web visit https://groups.google.com/d/msg/dompdf/-/OWfusg8Pd-4J.

BrianS

unread,
May 13, 2012, 9:53:01 PM5/13/12
to dom...@googlegroups.com
In 0.6.0 beta 3 there is a new web-based font installer built in to dompdf. You can access it at dompdf/www/fonts.php. You have to change the admin username/password to access that feature, you can do this in your configuration file.

I used the fonts you uploaded and did not experience any problems installing them into dompdf (I used the old web-based font prep tool). You can access the processed font here: http://eclecticgeek.com/dompdf/fonttemp/arial-narrow.zip



On Wednesday, April 25, 2012 3:21:04 PM UTC-4, rodrigo saavedra wrote:
cuando instalo con setup me dice "fuente invalida" ,cuando lo hago por consola me genera los archivos ufm y copia los ttf en la carpeta fonts pero al tratar de utilizar la fuente cargada no opera.
le adjunto link para descargar fuentes

http://portalink.cl/arialn.zip

the only thing done to ttf files, was left in lower case the name of each file ttf



2012/4/25 BrianS
Can you post the exact message you receive? Also, can you post the font somewhere so we can take a look at it?

Rodrigo Saavedra Aldana

unread,
May 15, 2012, 9:54:50 AM5/15/12
to dom...@googlegroups.com
estimated brian, I used the zip ud left me with sgte result, which the same to install the font I mismo.alguna idea from already thank you very much, I sent the resulting pdf.
http://portalink.cl/testarialnarrow.pdf

2012/5/13 BrianS <eclect...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "dompdf" group.
To view this discussion on the web visit https://groups.google.com/d/msg/dompdf/-/XCulbkNfsTQJ.

BrianS

unread,
May 15, 2012, 11:41:35 AM5/15/12
to dom...@googlegroups.com
What files do you have in your dompdf/lib/fonts folder? And what is the content of your dompd_font_family_cache?



On Tuesday, May 15, 2012 9:54:50 AM UTC-4, rodrigo saavedra wrote:
estimated brian, I used the zip ud left me with sgte result, which the same to install the font I mismo.alguna idea from already thank you very much, I sent the resulting pdf.
http://portalink.cl/testarialnarrow.pdf

2012/5/13 BrianS
In 0.6.0 beta 3 there is a new web-based font installer built in to dompdf. You can access it at dompdf/www/fonts.php. You have to change the admin username/password to access that feature, you can do this in your configuration file.

Rodrigo Saavedra Aldana

unread,
May 15, 2012, 11:57:25 AM5/15/12
to dom...@googlegroups.com
I put the files you sent me http://eclecticgeek.com/dompdf/fonttemp/arial-narrow.zip in the fonts folder is generated arial.ufm.php up the next file. sorry for my English.

2012/5/15 BrianS <eclect...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "dompdf" group.
To view this discussion on the web visit https://groups.google.com/d/msg/dompdf/-/j6O0s2-S1n0J.

BrianS

unread,
May 15, 2012, 1:57:28 PM5/15/12
to dom...@googlegroups.com
Did you rename dompdf_font_family_cache.sample to dompdf_font_family_cache or add its contents to your current file?

No worries on your English ... it's much better than my Spanish!



On Tuesday, May 15, 2012 11:57:25 AM UTC-4, rodrigo saavedra wrote:
I put the files you sent me http://eclecticgeek.com/dompdf/fonttemp/arial-narrow.zip in the fonts folder is generated arial.ufm.php up the next file. sorry for my English.

2012/5/15 BrianS
What files do you have in your dompdf/lib/fonts folder? And what is the content of your dompd_font_family_cache?

Rodrigo Saavedra Aldana

unread,
May 15, 2012, 3:41:37 PM5/15/12
to dom...@googlegroups.com
yes, I renamed the file, but only that the arial narrow font.
<?php return array (
 
  'arialnarrow' =>
  array (
    'normal' => DOMPDF_FONT_DIR . 'arialn',
    'bold' => DOMPDF_FONT_DIR . 'arialnb',
    'italic' => DOMPDF_FONT_DIR . 'arialni',
    'bold_italic' => DOMPDF_FONT_DIR . 'arialnbi',
  ),
) ?>

def("DOMPDF_DEFAULT_FONT", "arialnarrow");

no creo que tu español sea peor que mi ingles.



2012/5/15 BrianS <eclect...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "dompdf" group.
To view this discussion on the web visit https://groups.google.com/d/msg/dompdf/-/KM7FGyjxJXkJ.

BrianS

unread,
May 15, 2012, 9:32:55 PM5/15/12
to dom...@googlegroups.com
On Tuesday, May 15, 2012 3:41:37 PM UTC-4, rodrigo saavedra wrote:
yes, I renamed the file, but only that the arial narrow font.
<?php return array (
 
  'arialnarrow' =>
  array (
    'normal' => DOMPDF_FONT_DIR . 'arialn',
    'bold' => DOMPDF_FONT_DIR . 'arialnb',
    'italic' => DOMPDF_FONT_DIR . 'arialni',
    'bold_italic' => DOMPDF_FONT_DIR . 'arialnbi',
  ),
) ?>

def("DOMPDF_DEFAULT_FONT", "arialnarrow");

Are you only setting the font in your configuration? There's a bug that prevents DOMPDF_DEFAULT_FONT from being used. You should use a document style until the next release (try body: font-family: arialnarrow, sans-serif;).

no creo que tu español sea peor que mi ingles.

I'd respond, but I have no idea what you're saying ;)

 
2012/5/15 BrianS

Rodrigo Saavedra Aldana

unread,
May 23, 2012, 3:17:55 PM5/23/12
to dom...@googlegroups.com
Dear Brians, recently I have seen with the example of detention  arial narrow that you left me (http://eclecticgeek.com/dompdf/debug.php?identifier=f6a35916ec0f35d16528976188700d30), but I see the word "Arial" is not written in Arial font and the word "arial narrow" is written with Arial, I have not able to use the font arial narrow.


2012/5/15 BrianS <eclect...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "dompdf" group.
To view this discussion on the web visit https://groups.google.com/d/msg/dompdf/-/j53Ro79P250J.

BrianS

unread,
Jun 2, 2012, 10:36:38 PM6/2/12
to dom...@googlegroups.com
How are you styling your text? As I said, there is a bug in 0.6.0 beta 3 that prevents the DOMPDF_DEFAULT_FONT from being used. It will be addressed in the next release, but in the meantime you should style your document with something like body { font-family: arialnarrow, sans-serif; }.


On Wednesday, May 23, 2012 3:17:55 PM UTC-4, rodrigo saavedra wrote:
Dear Brians, recently I have seen with the example of detention  arial narrow that you left me (http://eclecticgeek.com/dompdf/debug.php?identifier=f6a35916ec0f35d16528976188700d30), but I see the word "Arial" is not written in Arial font and the word "arial narrow" is written with Arial, I have not able to use the font arial narrow.


2012/5/15 BrianS
On Tuesday, May 15, 2012 3:41:37 PM UTC-4, rodrigo saavedra wrote:

Camilo Fernandez

unread,
Nov 29, 2016, 5:26:43 PM11/29/16
to dompdf
Me sirvió muchisimo, no podía generar correctamente los archivos, ahora me funciona perfectamente
Reply all
Reply to author
Forward
0 new messages