Message from discussion
why cant I do a :at=> along with inline_formatting?
Received: by 10.236.191.198 with SMTP id g46mr1096356yhn.5.1339045264786;
Wed, 06 Jun 2012 22:01:04 -0700 (PDT)
X-BeenThere: prawn-ruby@googlegroups.com
Received: by 10.236.81.101 with SMTP id l65ls105165yhe.5.gmail; Wed, 06 Jun
2012 22:01:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.236.157.166 with SMTP id o26mr24158yhk.10.1339045263785; Wed,
06 Jun 2012 22:01:03 -0700 (PDT)
Authentication-Results: ls.google.com; spf=pass (google.com: domain of
rubes...@comcast.net designates internal as permitted sender)
smtp.mail=rubes...@comcast.net; dkim=pass
header...@comcast.net
Received: by h41g2000yqm.googlegroups.com with HTTP; Wed, 6 Jun 2012 22:01:03
-0700 (PDT)
Date: Wed, 6 Jun 2012 22:01:03 -0700 (PDT)
In-Reply-To: <CADxdCWfNrQra9sSs4cksbUTqUk-yUDAedZ4PLns7-SD_Z7ehEg@mail.gmail.com>
References: <8b6dbf8e-fd5e-46ed-960c-729c482d0cbb@p27g2000vbl.googlegroups.com>
<CADxdCWfNrQra9sSs4cksbUTqUk-yUDAedZ4PLns7-SD_Z7ehEg@mail.gmail.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0)
Gecko/20100101 Firefox/12.0,gzip(gfe)
Message-ID: <b325d858-ec27-4072-a939-855dd3a97827@h41g2000yqm.googlegroups.com>
Subject: Re: why cant I do a :at=> along with inline_formatting?
From: rubes <rubes...@comcast.net>
To: Prawn <prawn-ruby@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Although your syntax is something I'm not familiar with (only been
working in 1.8.7 ruby), your example worked (once converted).
However, I use font sizing and coloring extensively within the text
(as a percentage) and it seems <font> is not supported in the
inline_format. This is again a deal killer for me as I dont have
months of my life coming up with an alternate solution just to
upgrade. Also doesn't seem like :inline_format supports a ' '
I'm looking for :inline_format to support <font> and I need the text
writing to write :at=3D>
Is there any hope? I just want what I had 3 years ago.
On Jun 5, 9:00=A0pm, Brad Ediger <brad.edi...@madriska.com> wrote:
> On Mon, Jun 4, 2012 at 11:29 PM, rubes <rubes...@comcast.net> wrote:
> > I've been waiting since 0.6.3 for an upgrade that really gives me what
> > I got from prawn-format. =A0 Thats almost 3 years now. =A0 I need :at=
=3D> to
> > work with :inline_formatand have 10s of complicated documents I build
> > using prawn-format back in the day.
>
> > What is left is support inline formatting with anything that
> > supports :at=3D>. =A0 I tried with 1.0.0.rc1 and text_box
> > but :inline_format=3D>true doesn't seem to work. =A0 I spent many a nig=
ht
> > switching to draw_text but I see I cant do inline_formatting there
> > either. =A0:(
>
> This works for me against master:
>
> =A0 =A0 text_box "hello <b>world</b>!", at: [100, 100],inline_format: tru=
e
>