# \[PDF-Writer\] Write superscripted text

**URL:** <https://www.ruby-forum.com/t/pdf-writer-write-superscripted-text/128392>\
**Category:** Ruby\
**Created:** [February 7, 2008, 9:47am UTC](https://www.ruby-forum.com/t/pdf-writer-write-superscripted-text/128392 "2008-02-07T09:47:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![abir84](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@abir84](https://www.ruby-forum.com/u/abir84)\
**Post date:** [February 7, 2008, 9:47am UTC](https://www.ruby-forum.com/t/pdf-writer-write-superscripted-text/128392/1 "2008-02-07T09:47:20Z")

</div>

Hello,  
Is there a way in PDF-writer to write subscript or superscript (power)  
text??  
Thanks

---

<div class="post-metadata">

**Author:** ![abir84](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@abir84](https://www.ruby-forum.com/u/abir84)\
**Post date:** [February 7, 2008, 10:03am UTC](https://www.ruby-forum.com/t/pdf-writer-write-superscripted-text/128392/2 "2008-02-07T10:03:46Z")

</div>

While we’re at it, does anybody have a set of instructions for setting  
up PDF-writer on a Unix system to create PDFs that include Japanese  
text? Last I looked, there was some font downloading and conversion that  
needed to be done.

Please cc me on replies, as this list replaces my reply-to header.

cjs

---

<div class="post-metadata">

**Author:** ![abir84](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@abir84](https://www.ruby-forum.com/u/abir84)\
**Post date:** [February 8, 2008, 2:05am UTC](https://www.ruby-forum.com/t/pdf-writer-write-superscripted-text/128392/3 "2008-02-08T02:05:44Z")

</div>

Curt S. wrote:

> While we’re at it, does anybody have a set of instructions for setting  
> up PDF-writer on a Unix system to create PDFs that include Japanese  
> text? Last I looked, there was some font downloading and conversion that  
> needed to be done.
> 
> Please cc me on replies, as this list replaces my reply-to header.
> 
> cjs  
> if you’re unable to find an answer, Haru PDF library does this and it  
> has ruby  
> bindings. [http://libharu.sourceforge.net/](http://libharu.sourceforge.net/)

---

<div class="post-metadata">

**Author:** ![abir84](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@abir84](https://www.ruby-forum.com/u/abir84)\
**Post date:** [February 8, 2008, 2:25am UTC](https://www.ruby-forum.com/t/pdf-writer-write-superscripted-text/128392/4 "2008-02-08T02:25:04Z")

</div>

On Feb 7, 2008, at 7:04 PM, Reid T. wrote:

> it has ruby bindings. [http://libharu.sourceforge.net/](http://libharu.sourceforge.net/)

If the fonts are not embed-able you might need to render them as  
vector art. The pdf will still be readable and scalable and printable  
and will then be totally platform agnostic. The downside would be  
that text would no longer be text.

---

<div class="post-metadata">

**Author:** ![abir84](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@abir84](https://www.ruby-forum.com/u/abir84)\
**Post date:** [February 8, 2008, 10:20am UTC](https://www.ruby-forum.com/t/pdf-writer-write-superscripted-text/128392/5 "2008-02-08T10:20:04Z")

</div>

Abir B. wrote:

> Hello,  
> Is there a way in PDF-writer to write subscript or superscript (power)  
> text??  
> Thanks

No answers to my question??
