Class: Ucode::Glyphs::Pdf2svgRenderer
- Inherits:
-
PageRenderer
- Object
- PageRenderer
- Ucode::Glyphs::Pdf2svgRenderer
- Defined in:
- lib/ucode/glyphs/pdf2svg_renderer.rb
Overview
‘pdf2svg` — simple, widely available. One SVG per page.
Command: ‘pdf2svg <in.pdf> <out.svg> <page>`
Constant Summary
Constants inherited from PageRenderer
Ucode::Glyphs::PageRenderer::DEFAULT_SMOKE_FIXTURE, Ucode::Glyphs::PageRenderer::OUTPUT_FORMAT
Class Method Summary collapse
Methods inherited from PageRenderer
all, available, available?, default, find, output_format, render, reset_working_cache!, working, works?
Class Method Details
.binary_name ⇒ Object
16 17 18 |
# File 'lib/ucode/glyphs/pdf2svg_renderer.rb', line 16 def binary_name :pdf2svg end |
.build_command(pdf_path, page_num, out_path) ⇒ Object
20 21 22 |
# File 'lib/ucode/glyphs/pdf2svg_renderer.rb', line 20 def build_command(pdf_path, page_num, out_path) ["pdf2svg", pdf_path.to_s, out_path.to_s, page_num.to_s] end |
.renderer_name ⇒ Object
12 13 14 |
# File 'lib/ucode/glyphs/pdf2svg_renderer.rb', line 12 def renderer_name :pdf2svg end |