Displaying 20 results from an estimated 200 matches similar to: "Color gem"
2006 Jun 01
8
[Pdf::Witer]
Is anyone using Pdf::Writer?
I don know how to insert html tags in a pdf using Pdf::Writer, except <b>
and <i>
I think an idea is with Pdf::TechBook but i hadn''t seen any example till
now.
--
Cheers,
ioana k&a
http://boulangerie.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 May 05
8
pdf/writer: table.render_on best practices?
Hi All,
I generate a pdf report that contains a table. The report is 14 pages, and
it takes 20s to be rendered. Most of these 20s are spend in the render_on
method. I wonder if it is possible to speed up that process?
To create the report, I do the following:
1) Setup pdf layout:
# Setup pdf layout
pdf.select_font("Helvetica", { :encoding => "WinAnsiEncoding"})
2009 Aug 05
1
[PATCH] Compute MD5 of COPYING.LIB used in upload and download tests
As suggested by rjones.
---
src/generator.ml | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/generator.ml b/src/generator.ml
index 94dc268..7ac4ac8 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -1756,7 +1756,8 @@ This uses the L<blockdev(8)> command.");
[InitBasicFS, Always, TestOutput (
(* Pick a file from cwd which isn't
2006 Aug 16
1
pdf::writer
I am trying to use an OCRB font in pdf::writer. So, I managed to install
the font on a debian linux. The first line in OCR font is appearing on
the pdf, but I get an error-message: "The font ''OCRBLT'' contains a bad
/BBox".
Someone ever had this problem?
--
Posted via http://www.ruby-forum.com/.
2006 Jun 12
2
Pdf::Witer question
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 Mihelac
--
Bojan Mihelac
Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com
-> tools, scripts, tricks from our code lab:
2006 Jun 19
1
pdf simpletable help needed
i am trying to generate a pdf of all of the users in an application that
i have built. i am still pretty new to ruby and rails so i don''t know
the best way to go about it.
here is my controller code:
require ''pdf/writer''
require ''pdf/simpletable''
class ReportsController < ApplicationController
def test
_pdf = PDF::Writer.new
table =
2006 Jun 20
7
What is up with rubyforge?
Does anybody know when it will be back up?
<http://rubyforge.org/>
--
Posted via http://www.ruby-forum.com/.
2014 Oct 05
0
[PATCH v5 2/7] tests/c-api: Convert the C API tests to use the test harness.
This involves some significant changes to this test framework.
In particular:
- Instead of just specifying $srcdir at the start of a FileIn
path, you can now specify arbitrary environment variables.
This is necessary to allow the tests to run from a tmpdir.
- Use COPYING instead of COPYING.LIB, and copy that file into
the test suite directory.
- Require the static binaries
2015 Aug 06
0
[PATCH v4 02/17] tests/c-api: Convert the C API tests to use the test harness.
This involves some significant changes to this test framework.
In particular:
- Instead of just specifying $srcdir at the start of a FileIn
path, you can now specify arbitrary environment variables.
This is necessary to allow the tests to run from a tmpdir.
- Use COPYING instead of COPYING.LIB, and copy that file into
the test suite directory.
- Require the static binaries
2006 Jun 24
32
Why is there no Smalltalk-like IDE for Ruby?
I posted this to comp.lang.ruby and comp.lang.smalltalk, and my blog.
I will likely get destroyed, but it will be worth it if at least one
nugget of information helps the Ruby IDE makers.
-----------------------------------------
Hi all --
I shout my question to the entire Ruby + Smalltalk community: Smalltalk
has had amazing IDEs for decades, why not Ruby? Smalltalkers, Ruby
needs your help!
2005 Dec 15
5
Avery Lables, PDF::Writer or LaTex?
In a new app we are developing, we need to be able to dynamically create
a PDF and send it to the browser (inline with send_data). I have been
tinkering with PDF::Writer and love the simplicity and native ruby-ness
of it all.
However, one of the main uses for this functionality is to output a PDF
of addresses to be printed on Avery 5161 labels. LaTex seems to be
suited well for this, but it
2007 Feb 27
2
Creating a PDF on the fly
A friend and I are just in the process of trying to create PDFs on the
fly. This isn''t in itself too hard, but we have some repeating images
that are being put in over and over again. It''s increasing file size
too much unfortunately.
Does anyone know the best way to ensure file size is kept to a minimum
for this scenario? We know about linking to a URI, but the problem with
2006 Jan 03
2
Pdf::Writer ; page numbering, and table wrapping
Hey there,
I know this isn''t a pdf::writer list - If there''s a more appropriate
place for me to ask these questions I''d appreciate being set straight.
I''m having a couple of misunderstandings/isssues first with page numbers
and secondly with auto-wrapping of simple_table.
First
pdf.start_page_numbering(pdf.margin_x_middle,
pdf.absolute_bottom_margin, 9,
2006 Apr 30
82
Mongrel 3.15, Ubuntu and Park place (S3)
Hello. I installed under Ubuntu (Dapper) Park Place. I followed the
instructions given at the RedHanded site. I get the following mongrel
error when launching the application:
** Please login in with `admin'' and password `pass@word1''
** You should change the default password or delete the admin at
soonest chance!/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.5/lib/mongrel.rb:584:in
2005 Dec 15
3
Pdf::Writer and "Replacement Tags"
Having read over the ruby pdf generation (simple reporting) options, I
think Pdf::Writer will do just fine...
..if the following is possible
On page 13 of (the really expansive) ::Writer manual, Replacement Tags
are detailed.
Before I jump into this tomorrow, I''m hoping for some triage sage
advice.
Finally, the question : "Would utilizing Replacement Tags be a suitable
2006 May 24
2
PDF Writing without Cached File
I''m researching generating PDF files via RoR. I see there are packages
available to do this. One such package is the PDF-Writer. The examples
I saw for this package save the PDF to a file. Is there a way I can
output the PDF on-the-fly to the browser rather than having a temporary
PDF file?
I just can''t have these files laying around since they contain sensitive
2006 Feb 22
1
Toronto Rails Pub Nite
Monday, March 13th @ 7pm at C''est What? (67 Front St. East in Toronto, ON)
Spread the word! The inaugural Toronto Rails pub nite will be an opportunity
to meet the folks working on Rails in your community. There will be plenty
of opportunity to discuss projects you''re involved with, recruit talent, and
even find out what all of the fuss is about!
Unspace wants to support the
2006 Jan 18
1
Ruby and PDF creation...
Hi-
I need to create PDF docs on the fly with data from a database. I see
couple of options floating around to achieve this in Ruby. Can anyone
recommend the best way to do this? Also any helpful hints or sample
programs will be appreciated.
Thanks
Thila
--
Posted via http://www.ruby-forum.com/.
2006 Jan 24
4
PDF::SimpleTable performance issues
Hello,
I am having performance issues ending with a ''time out'' from Apache when
I try to generate a PDF file using pdf-writer.
It seems to happen at the render_on(pdf) function call ; the table I am
trying to draw has 8 colums which values are generated on the fly.
Can''t find anything about pdf-writer and the ''time out'' on the Web so
far.
Any
2006 Jan 02
3
Pdf::Writer and #image
Greetings all - happy new year,
I''m having problems getting Pdf::Writer image insertion.
pdf.image "/path/to/images/logo.jpg"
is firing "JPEG marker not found!"
Originally created the RGB (8 bit) JPEG in photoshop. After the above,
I''ve exported with an alternate tool using (OSX) preview.
This tutorial