pdbook 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/pdbook/converter.rb +3 -3
  2. data/lib/pdbook.rb +1 -1
  3. metadata +1 -1
@@ -29,7 +29,7 @@ module Pdbook
29
29
  render_toc(doc, toc)
30
30
 
31
31
  # render content
32
- doc.text_options.update(:wrap => :character, :size => 20, :spacing => 4)
32
+ doc.text_options.update(:wrap => :character, :size => 24, :spacing => 8)
33
33
  content.each do |record|
34
34
  render_content(doc, record.data)
35
35
  end
@@ -58,7 +58,7 @@ module Pdbook
58
58
 
59
59
  # print cover
60
60
  unless cover.nil?
61
- doc.text_options.update(:wrap => :character, :size => 40, :spacing => 4)
61
+ doc.text_options.update(:wrap => :character, :size => 48, :spacing => 8)
62
62
  doc.bounding_box [doc.bounds.left, 2*doc.bounds.top/3], :width => doc.bounds.width do
63
63
  doc.text cover
64
64
  end
@@ -67,7 +67,7 @@ module Pdbook
67
67
 
68
68
  # print toc
69
69
  unless toc.nil?
70
- doc.text_options.update(:wrap => :character, :size => 20, :spacing => 4)
70
+ doc.text_options.update(:wrap => :character, :size => 24, :spacing => 8)
71
71
  toc = toc.split("\e")
72
72
  section_cnt = toc.shift.to_i
73
73
  if section_cnt == toc.size
data/lib/pdbook.rb CHANGED
@@ -4,5 +4,5 @@ $:.unshift(File.dirname(__FILE__)) unless
4
4
  require 'pdbook/converter'
5
5
 
6
6
  module Pdbook
7
- VERSION = '0.1.3'
7
+ VERSION = '0.1.4'
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdbook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francis Chong