Displaying 20 results from an estimated 30000 matches similar to: "FPDF and charset"
2006 Jul 03
5
FPDF set FONT_PATH
hi all,
im using ruby FPDF to generate my pdf. the problem im facing now is i
need to use some new font that is not included in basic fpdf font. then
i have generated the font using the makefont.rb. but then i dont know
how to define the font_path in ruby. the font work great in PHP-FPDF. Is
anybody there had solved the problem im facing now.
** sorry for my english ...
--
Posted via
2006 Jun 19
0
PDF::Writer VS Ruby FPDF
Hi list,
I see almost all people here uses PDF::Writer for generating pdf
documents with rails. I used it too at first, but am using both now and
would like to see some advantages and shortfalls you came using each of
these two packages. Here are my thoughts for now:
PDF::Writer:
- extensive documentation
- writen using ruby conventions
- easy to use
- some bugs with embeding fonts prevent
2006 Apr 18
0
Re: undefined method `stringify_keys!'' for "Tue Apr 18 11:26
> @verkaufsliste=Verkaufsliste.create(@listes.vkdatum.to_s)
I think it''s better to use strftime(''%d %B %Y'') for .to_s.
strftime is a great function that you can redefine easily (in German for
example ;)
++
o_O Pierre Marchet
--
Posted via http://www.ruby-forum.com/.
2006 Mar 01
9
ajax doesn''t show at the right place
Hi,
I use link_to_remote to create a link to trigger an
ajax, things work fine, a new rhtml is created,
however, the newly created rhtml doesn''t replace my
old zone, it shows instead on top of my old
zone...Does someone know why???
my code is like
<table>
<tr><td colspan="2"><a href="#" onclick="new
Ajax.Updater(''zone1'',
2011 Mar 27
1
pmt
I am working with the pmt function in the {mnormt} package, and i am getting
negative values returned. the following is an example of one of my outputs:
pmt(x = c(3.024960, -1.010898), mean = c(21.18844, 21.18844), S =
matrix(c(.319,.139,.139,0.319), 2, 2),df = 42)
# -6.585641e-18
Any help on why i'm getting negative numbers would be very much appreciated.
THanks!
--
View this message in
2008 Oct 02
0
Re: How to export data in pdf and excel format ?
PDF generation
Prawn
http://github.com/sandal/prawn/tree/master
pdf writer
http://ruby-pdf.rubyforge.org/pdf-writer/
ruby fpdf
http://zeropluszero.com/software/fpdf/
Prawn is very good and well maintained in terms of development and new
features added
regards
Senthil
http://blog.railsfactory.com
--
Posted via http://www.ruby-forum.com/.
2006 Oct 18
0
Payment calculations for fixed rate loans (Excel PMT func?)
All,
I need the Ruby equivalent of the Excel PMT function which will
calculate a monthly payment amount given an interest rate, a number of
months, and a present value of the loan amount.
Anyone know where I can find such a beast?
If someone can point me to the formula that Excel uses internally,
that''s fine too. I know it isn''t very complicated, but I def. don''t
2002 Mar 04
1
What's wrong with accentued filenames in 2.2.3a????
Hello,
i read many many faq, docs, mailing lists archive, however smbclient
command don't work with filenames/directories of a share(under win98)
composed of accentued characters (i'm french, did you notice it with my
english level :) ).
my conf is:
-OS: linux 2.4.17 with RH 7.1
-kernel option:
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="cp850" (cp437 tried)
2007 Jan 30
2
R crashes when used from within rpy (PR#9481)
Full_Name: Jose Gaetan Pierre
Version: 2.4.1
OS: Fedora Core 6
Submission from: (NULL) (196.27.87.14)
I have been using R from within rpy for a while because I am more familiar with
Python syntax. I first noticed this bug with R-2.4.0.
Screendump: ------------------------------
>>> from rpy import *
>>> beer = r.scan()
1: 3 4 1 1 3 4 3 3 1 3 2 1 2 1 2 3 2 3 1 1 1 1 4 3 1
26:
2013 Aug 15
1
Announce: Puppet 3.2.4 Available [ Security Release ]
Puppet 3.2.4 is now available. 3.2.4 addresses two security
vulnerabilties discovered in the 3.x series of Puppet. These
vulnerabilities have been assigned Mitre CVE numbers CVE-2013-4956 and
CVE-2013-4761.
All users of Puppet 3.2.3 and earlier are strongly encouraged to upgrade
to 3.2.4.
For more information on these vulnerabilities, please visit
http://puppetlabs.com/security/cve/cve-2013-4761
2006 Jan 17
4
textarea problem with accentued chars
Hello, I have a problem with accentued characters return from a textarea
I have 3 simple files to show example ( below ).
index.rhml : If I put "?nial" inside the textarea, then submit to
:action => post
post.rhml : wrote
?nial
195
"\303\251nial"
//
params[:comment][:message] return => ?nial
params[:comment][:message][1] return => 195 ! ( 195 is not
2006 Feb 27
2
Read IMAP
Hello,
I have a question about IMAP : I want read a IMAP mailbox in my
application.
I have found 2 pages about this :
http://wiki.rubyonrails.org/rails/pages/HowToReceiveEmailsWithActionMailer/versions/203
http://www.codefetch.com/search?qy=login&lang=ruby
But, Rails don''t want use ''net/imap''. So I can''t =(
Thank you for your help
pmt
--
Posted via
2006 Apr 04
3
Financial functions
In what R package(-s) can I find the entire set of financial functions that
you can find in MS-Excel such as PMT, PPMT, FV and IPMT?
Ciao
Vittorio
2006 Oct 18
1
latin1,utf-8...encoding and data
Hello,
I have some questions concerning encoding and package distribution. We
develop the ade4 package. For some data sets included in the package,
there are accentued character (e.g. ?,?...). The data sets have been
saved using latin1 encoding, but some of us use utf-8 and can not see
some data sets which contains accented chracters.
e.g:
librarry(ade4)
data(rankrock)
rankrock
in this case,
2010 Jan 29
1
Master user and proxying
Hello list,
Still need your help configuring proxy infrastructure.
Today, I really struggle configuring master passwords forwarding.
What
I want:
master user can connect to any other account, on proxy.
Could
please somebody help me, I read both articles about this on wiki, but still
can't connect :(
What I did:
on proxy:
auth_master_user_separator=*
passdb sql {
args =
2005 Oct 06
0
R for teaching multivariate statistics (Summary)
Greetings all
I promised a summary of the responses that I got to my question:
"Next year I will be teaching a third year course in applied statistics
about 1/3 of which is multivariate statistics. I would be interested in
hearing experiences from those who have taught multivariate statistics
using R. Especially I am interested in the textbook that you used or
recommended."
There
2001 Sep 27
1
Correlations in multivariate censored data
Hello,
I would like to know if the following problem can be solved using the survival
package in R.
I would like to perform a linear regression:
Z=aX + bY + c
a,b,c being constants to determine (with errors)
X,Y,Z being measurement vectors.
X being eventually censored.
This problem has not been consistently addressed in my field (astronomy), that's
why I need interdisciplinarity help!
2007 Feb 18
1
dbi, rodbc, rmysql, charset problem
Dear List
In my short life as a beginning R-user i've encountered a following
problem that i'm unable to solve myself:
I have a database in MySQL containing table and field names as well as
some data containing Polish accentuated characters (like ????),
utf8-encoded. It works just fine with just any external query browser i
can find, jdbc, odbc, native, whatever. Also mysql is happy
2007 Mar 13
2
mime types
I''m trying to use the ajax.Updater function to send a message to the
server and display an error message. Ok so far. However if the server
detects no error with the data sent I want to open a PDF file in a new
window. When I try to do this (using fpdf) the returned PDF is opened
as text in the error div.
Can anyone point me in the right direction.
rgds
gmcb
2005 Oct 24
0
Charset issue with Samba 3.0.* and AIX5.2 ML5
Hey,
I have AIX5.2 running with en_US ( ISO8859-1) as charset (see smitty
shot bellow).
Change/Show Cultural Convention,
Language, or Keyboard
Primary CULTURAL convention ISO8859-1 English
(United States) [en_US] +
Primary LANGUAGE translation ISO8859-1 English
(United States) [en_US]