Commit Graph

54 Commits

Author SHA1 Message Date
Toshi MARUYAMA 1a87912b06 pdf: fix tcpdf automatic line break bug (#10554)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-03 11:22:21 +00:00
Jean-Philippe Lang 967e6413e5 Fixed that tag[0] may be nil.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 17:57:51 +00:00
Toshi MARUYAMA 09c305d29f Rails3.2: pdf: comment out ::ActionView::TemplateHandlers::ERB of rfpdf plugin (#4796)
ActionView::TemplateHandlers is deprecated on Rails3.2
and Redmine cannot boot on Rails3.2.
Redmine does not use this rfpdf plugin feature.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8702 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-26 05:15:40 +00:00
Toshi MARUYAMA e210c5613f pdf: fix textilized outputs of coderay line numbers (#9692)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 07:59:32 +00:00
Toshi MARUYAMA 6cd33a4815 improve rmagick feature of rfpdf plugin for PDF inline images (#3261)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7806 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-14 07:52:03 +00:00
Toshi MARUYAMA 105f30c93f pdf: add logger at vendor/plugins/rfpdf/lib/tcpdf.rb (#3261)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:17:06 +00:00
Toshi MARUYAMA 39d0e3abd2 add newline at end of vendor/plugins/rfpdf/lib/core/rmagick.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-07 00:12:26 +00:00
Toshi MARUYAMA ff058061c4 PDF: remove unused vendor/plugins/rfpdf/lib/barcode/* (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6441 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 07:44:07 +00:00
Toshi MARUYAMA aa1eba4432 PDF: remove unused sjis.rb (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 07:15:37 +00:00
Toshi MARUYAMA 402a49e883 PDF: remove unused zapfdingbats.rb (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6434 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 06:20:26 +00:00
Toshi MARUYAMA 9b50078638 PDF: remove unused symbol.rb (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6433 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 06:20:01 +00:00
Toshi MARUYAMA b89a3d9483 PDF: remove unused courier.rb (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6432 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 06:19:31 +00:00
Toshi MARUYAMA afdb811d0a PDF: remove unused times*.rb (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6431 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 06:19:00 +00:00
Toshi MARUYAMA 9147ed10af PDF: remove unused vera*.rb (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 05:47:40 +00:00
Toshi MARUYAMA aa834b4bf7 PDF: remove unused vera fonts (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6427 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 03:37:32 +00:00
Toshi MARUYAMA 54bbdab65e PDF: remove unused FreeMono fonts (#8892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6426 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 03:36:49 +00:00
Toshi MARUYAMA cd166360af PDF: remove unused DejaVu fonts except DejaVuSans-BoldOblique (#8892, #8566).
FreeSans has freesansbi.rb. But there is no dejavusansbi.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6402 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-03 08:48:35 +00:00
Toshi MARUYAMA 74e29b6b32 PDF: remove unused DejaVuSans-ExtraLight font (#8892, #8566).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6401 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-03 08:16:52 +00:00
Toshi MARUYAMA 79c9fdfa61 PDF: import rfpdf tcpdf patch for textilized PDF (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6134 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-30 04:00:55 +00:00
Toshi MARUYAMA e9cdaf0d4b PDF: import Chinese rfpdf patch for textilized PDF (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6133 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-30 03:48:37 +00:00
Toshi MARUYAMA 047ba7c879 PDF: import Korean rfpdf patch for textilized PDF (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6132 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-30 03:47:56 +00:00
Toshi MARUYAMA dc4123cb9b PDF: import Japanese rfpdf patch for textilized PDF (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6131 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-30 03:47:15 +00:00
Toshi MARUYAMA fa86ef3542 PDF: replace RAILS_ROOT to Rails.root at vendor/plugins/rfpdf/lib/tcpdf.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6121 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 23:41:54 +00:00
Toshi MARUYAMA 902a9773fe PDF: fix font name in vendor/plugins/rfpdf/lib/fonts/dejavusansi.rb (#8566).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6031 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-09 23:18:20 +00:00
Toshi MARUYAMA 5beeda65a0 PDF: Import DejaVu fonts (#8566).
http://rfpdf.googlecode.com/files/DejaVu.zip
Sep. 2007
fils size 3,685,721
md5sum: 54274d105b74f817d649035fc1541d8a

rename files.
* DejaVuSans.rb  to dejavusans.rb
* DejaVuSansb.rb to dejavusansb.rb
* DejaVuSansi.rb to dejavusansi.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-09 23:13:14 +00:00
Toshi MARUYAMA 29f6dd2a9e PDF: import CJK patches and all languages use TCPDF (#8312).
Contributed Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 11:12:27 +00:00
Toshi MARUYAMA ba2fb5340e PDF: import tcpdf.rb patch (#8312).
Contributed Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5717 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 07:35:02 +00:00
Toshi MARUYAMA e6e0578d29 PDF: fix automatic line break problem with TCPDF (#8310).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5664 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 10:40:40 +00:00
Toshi MARUYAMA 46bd78aa21 PDF: fix automatic line break in Chinese PDF (#5629).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-30 05:58:15 +00:00
Toshi MARUYAMA f62605c636 PDF: fix 0x5c(backslash) escape processing in FPDF (#61).
Japanese CP932(Shift_JIS) and Traditional Chinese Big5 have 0x5c(backslash) problem.

Contributed Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 05:35:26 +00:00
Toshi MARUYAMA 47dccc53b3 PDF: Ruby 1.9 compatibility for FPDF ANSI (#61).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5331 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 14:13:03 +00:00
Toshi MARUYAMA dfe83ffa91 PDF: fix width calculation of multi byte character in Simplified and Traditional Chinese (#61).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-03 02:12:09 +00:00
Toshi MARUYAMA 2b899b73ad PDF: fix the problem that TCPDF built-in font breaks in the Windows (#61).
This problem occurs because the EOF character string is included in the built-in font.

Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5290 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-02 08:01:29 +00:00
Toshi MARUYAMA 516320e82b PDF: back out r5253 (#7794, #61).
r5256 fixed #7794 completely.
r5253 effects the width of the ASCII character of Japanese PDF.

Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5281 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 15:46:18 +00:00
Toshi MARUYAMA dbe71b4f3b PDF: fix syntax errors at vendor/plugins/rfpdf/lib/tcpdf.rb on Ruby 1.9 (#61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5267 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 23:44:20 +00:00
Toshi MARUYAMA 8db478808d PDF: comment out Mime pdf in vendor/plugins/rfpdf/init.rb (#61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 05:46:58 +00:00
Toshi MARUYAMA 404ba921e2 PDF: import CJK patches (#61).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 05:05:11 +00:00
Toshi MARUYAMA 56a7ff0bc7 PDF: comment out memoizes (#61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 05:04:51 +00:00
Toshi MARUYAMA 2d97a7453b PDF: transplant r4602 (#61).
Ruby1.9 compatibility.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 03:28:10 +00:00
Toshi MARUYAMA 8b0144248c PDF: transplant r5183 (#61).
Fix an internal server error on formatting an issue as a PDF in Japanese (#7794).

Contributed by Yuki Sonoda.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 03:27:50 +00:00
Toshi MARUYAMA b257ad1457 PDF: transplant r1497 (#61).
Fixes Chinese pdf export when the issue description is too long (#1170).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5252 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 03:27:29 +00:00
Toshi MARUYAMA 000cf8fa9e PDF: transplant r3389 (#61).
Korean support for PDF export (#4639).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5251 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 03:27:09 +00:00
Toshi MARUYAMA b9b2f24540 PDF: transplant r393 (#61).
Added chinese simplified translation (Andy Wu)
Fixed rfpdf chinese.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5250 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 03:26:47 +00:00
Toshi MARUYAMA aff157f0a0 PDF: transplant r287 (#61).
Fix for #9.
Export feature(to csv/pdf) doesn't work in Japanese
csv and pdf encoding are know defined for each language
(general_csv_encoding and general_pdf_encoding keys in lang files)
added SJIS font for japanese pdf exports.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 03:26:24 +00:00
Toshi MARUYAMA 22e8d9b949 PDF: update rfpdf (#61).
https://github.com/edwinmoss/rfpdf
revision a04724b4af95c15a99675b34e353c15534d20411

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5247 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 03:23:54 +00:00
Toshi MARUYAMA 3acae2529e Fix an internal server error on formatting an issue as a PDF in Japanese (#7794).
Contributed by Yuki Sonoda.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-21 06:14:02 +00:00
Jean-Philippe Lang 2c830770cb ruby1.9 compatibility
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-01 11:45:12 +00:00
Jean-Philippe Lang 446ef61680 Korean support for PDF export (#4639).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3389 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-07 12:30:44 +00:00
Jean-Philippe Lang 7cdd88a6ce Merged Rails 2.1 compatibility branch.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1623 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-07-04 17:58:14 +00:00
Jean-Philippe Lang f4aa04b96e Fixes Chinese pdf export when the issue description is too long (#1170).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-07 08:39:06 +00:00