# Pdf::Witer question

**URL:** <https://www.ruby-forum.com/t/pdf-witer-question/63156>\
**Category:** Rails\
**Created:** [June 12, 2006, 8:29pm UTC](https://www.ruby-forum.com/t/pdf-witer-question/63156 "2006-06-12T20:29:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmihelac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/5fc32e/32.png) [@bmihelac](https://www.ruby-forum.com/u/bmihelac)\
**Post date:** [June 12, 2006, 8:29pm UTC](https://www.ruby-forum.com/t/pdf-witer-question/63156/1 "2006-06-12T20:29:22Z")

</div>

Does anyone knows how to embed Type1 font with PDF::Writer? I read  
manual, tried everything but nothing seems to work (The font ‘FontName’  
contains a bad /BBox error on PDF).

any help or hint would be really appreciated,  
Bojan M.

–  
Bojan M.  
Informatika Mihelac, Bojan M. s.p. | [www.informatikamihelac.com](http://www.informatikamihelac.com)  
 → tools, scripts, tricks from our code lab: [http://source.mihelac.org](http://source.mihelac.org)

---

<div class="post-metadata">

**Author:** ![bmihelac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/5fc32e/32.png) [@bmihelac](https://www.ruby-forum.com/u/bmihelac)\
**Post date:** [June 12, 2006, 9:03pm UTC](https://www.ruby-forum.com/t/pdf-witer-question/63156/2 "2006-06-12T21:03:12Z")

</div>

On 6/12/06, Bojan M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Does anyone knows how to embed Type1 font with PDF::Writer? I read  
> manual, tried everything but nothing seems to work (The font ‘FontName’  
> contains a bad /BBox error on PDF).
> 
> any help or hint would be really appreciated,

There are some bugs related to font loading that I have not had time to  
resolve.

A /BBox error is always related to a problem with the .afm file.

## -austin

Austin Z. \* removed\_email\_address@domain.invalid \* [http://www.halostatue.ca/](http://www.halostatue.ca/)  
\* removed\_email\_address@domain.invalid \* [You are in a maze of twisty little passages, all alike. // halo • statue](http://www.halostatue.ca/feed/)  
\* removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![bmihelac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/5fc32e/32.png) [@bmihelac](https://www.ruby-forum.com/u/bmihelac)\
**Post date:** [June 12, 2006, 9:25pm UTC](https://www.ruby-forum.com/t/pdf-witer-question/63156/3 "2006-06-12T21:25:27Z")

</div>

Thanks for answer Austin. Do you have any hint what could be done to  
avoid font embeding? I wanted to embed font because of need for some  
ISO-8859-2 (or windows-1250) characters which are not available in PDF  
standard encodings. I also tried to use UTF-16BE strings, without  
success.

thanks for your answer in advance,  
Bojan M.

Austin Z. wrote:

> A /BBox error is always related to a problem with the .afm file.
> 
> -austin

–  
Bojan M.  
Informatika Mihelac, Bojan M. s.p. | [www.informatikamihelac.com](http://www.informatikamihelac.com)  
 → tools, scripts, tricks from our code lab: [http://source.mihelac.org](http://source.mihelac.org)
