Denys Smirnov
|
e286eecac9
|
remove unused functions and globals; add todos for unused params
|
2018-12-09 19:37:07 +02:00 |
|
Denys Smirnov
|
99f3184879
|
define slices with a var instead of an empty literal
|
2018-12-09 19:28:50 +02:00 |
|
Denys Smirnov
|
fb4a087a93
|
textencoding: introduce GlyphName type
|
2018-11-29 23:24:40 +02:00 |
|
Gunnsteinn Hall
|
d60240f560
|
Merge branch 'v3' into v3-enhance-forms
|
2018-10-15 10:02:38 +00:00 |
|
Gunnsteinn Hall
|
3454ec67dc
|
Merge branch 'v3' into v3-enhance-forms
|
2018-10-13 11:32:20 +00:00 |
|
Adrian-George Bostan
|
90ba15f56d
|
Instantiate component only through creator and cache default fonts
|
2018-10-12 23:00:02 +03:00 |
|
Adrian-George Bostan
|
fb41824815
|
Add getTextLineWidth and getMaxLineWidth methods on Paragraph
|
2018-10-08 17:33:55 +03:00 |
|
Adrian-George Bostan
|
8859ca10b1
|
Enable paragraph wrap only if width has been set
|
2018-10-07 18:45:26 +03:00 |
|
Gunnsteinn Hall
|
aea91f1ba9
|
Merge branch 'v3' into v3-enhance-forms
|
2018-09-29 16:59:16 +00:00 |
|
Denys Smirnov
|
acd4308d56
|
Merge branch 'refactor' into v3
# Conflicts:
# pdf/core/crypt.go
# pdf/model/writer.go
|
2018-09-26 01:08:19 +03:00 |
|
Adrian-George Bostan
|
32228e2a17
|
Improve style of comments
|
2018-09-18 19:33:02 +03:00 |
|
Adrian-George Bostan
|
bc854abafe
|
Increase test coverage for the inline division component
|
2018-09-18 19:24:07 +03:00 |
|
Adrian-George Bostan
|
7004fb0d0e
|
Add inline member on the DrawContext structure
|
2018-09-17 22:11:25 +03:00 |
|
Adrian-George Bostan
|
ba5b493b70
|
Add inline mode for the division component
|
2018-09-17 21:33:17 +03:00 |
|
Gunnsteinn Hall
|
e63a74cc9c
|
Merge branch 'master' into v3-merge-master-in
|
2018-09-06 09:45:04 +00:00 |
|
Peter Williams
|
f84792531f
|
Fixed bugs introduced into creator_test.go by font changes.
- Use pdfFontType0 Encoding value for encoding name if it is set.
- Use DW entry in CID Type2 fonts
- Encode CID fonts using 2 bytes / character
|
2018-09-03 10:48:31 +10:00 |
|
Peter Williams
|
d3bec465ce
|
Set Paragraph.enableWrap default to false to avoid default setting of wrap enabled with
Paragraph.wrapWidth = 0
Paragraph.enableWrap is set true when Paragraph.wrapWidth is set in Paragraph.SetWidth()
|
2018-08-23 09:19:20 +10:00 |
|
Peter Williams
|
b7f1f3e291
|
Merge branch 'v3' of https://github.com/unidoc/unidoc into render.v3.hungarian
|
2018-08-22 22:01:00 +10:00 |
|
Peter Williams
|
e5ec5406f6
|
Changes to get creator working better.
- textencoding.RuneToGlyph always returns a value
- Encode empty /Difference correctly
- NewParagraph sets a custom encoding that matches its text
|
2018-08-22 14:51:50 +10:00 |
|
Peter Williams
|
cc4f64fa98
|
small tidy up
|
2018-08-21 12:43:51 +10:00 |
|
Peter Williams
|
23fe5a5cfe
|
Change Paragraph.enableWrap default to false to make it hard to unintentional set zero width wrap.
|
2018-08-20 19:02:47 +10:00 |
|
Peter Williams
|
c2feafdfdc
|
Fixed some issues in creator code
Stopped double converting from Go strings to PDF encoded strings
Added TTF parse table format 12
|
2018-08-17 08:41:35 +10:00 |
|
Peter Williams
|
fefff56603
|
Cleaned up some comments in creator.
|
2018-08-15 17:36:42 +10:00 |
|
Peter Williams
|
1847fcf8db
|
Converted creator to new font code
|
2018-08-15 09:32:13 +10:00 |
|
Gunnsteinn Hall
|
7bac3c779c
|
Merge branch 'v3' into enhance-forms
|
2018-08-03 21:15:21 +00:00 |
|
Gunnsteinn Hall
|
cc44dd2552
|
Merge branch 'master' into v3
|
2018-08-01 22:04:27 +00:00 |
|
Gunnsteinn Hall
|
749a238c77
|
golint
|
2018-07-26 14:57:57 +00:00 |
|
Gunnsteinn Hall
|
446bf4fe8d
|
godoc
|
2018-07-26 14:19:39 +00:00 |
|
Gunnsteinn Hall
|
b36101ae34
|
Support newline wrapping in paragraph
|
2018-07-18 11:24:24 +00:00 |
|
Gunnsteinn Hall
|
be8d19b510
|
Support wrapped text in table cells
|
2018-07-18 07:30:55 +00:00 |
|
Gunnsteinn Hall
|
ce9c6ba114
|
Merge branch 'master' into compositefonts
|
2018-06-07 14:55:37 +00:00 |
|
Jordi Llonch
|
7ae11755c8
|
Added Paragraph.Text function returning text content
|
2018-02-15 13:11:32 +11:00 |
|
Julien Lefèvre
|
4f438e3fed
|
dont encode glyphs when you only wrap
|
2017-09-22 10:57:16 +02:00 |
|
Gunnsteinn Hall
|
646329ff21
|
Initial support for composite fonts (Type0 and CIDFontType2).
Simplified creator paragraph handling of text encoding.
Character codes expanded to 16bit instead of 8bit.
|
2017-09-01 13:20:51 +00:00 |
|
Gunnsteinn Hall
|
acb65b071e
|
Address golint recommendations. Exported types Subchapter, Rectangle, TableCell, TableOfContentsEntry. Closes #82.
|
2017-08-01 13:10:48 +00:00 |
|
Gunnsteinn Hall
|
7ace3c96db
|
Exported creator's Color interface. Addressed golint issues in creator's color.go, const.go
|
2017-07-31 14:06:47 +00:00 |
|
Gunnsteinn Hall
|
12f09116a2
|
Change from paragraph to exported type Paragraph. Address golint issues in creator's chapter.go.
|
2017-07-31 13:07:02 +00:00 |
|
Gunnsteinn Hall
|
0420787b50
|
Context update fixes
|
2017-07-26 16:11:28 +00:00 |
|
Gunnsteinn Hall
|
25c91a8943
|
Horizontal and vertical table cell alignment implemented. Closes #74.
|
2017-07-17 20:41:10 +00:00 |
|
Gunnsteinn Hall
|
83f9a0b989
|
Implemented generic color interface. Initial support for table borders and indent. Also, now setting some default parameters for paragraphs added to table.
|
2017-07-17 11:36:02 +00:00 |
|
Gunnsteinn Hall
|
11e4fae50b
|
Updated color treatment as per #63.
|
2017-07-14 21:58:16 +00:00 |
|
Gunnsteinn Hall
|
ec4847d328
|
Expose subchapter paragraph heading for styling. Add capability to hide numbering, and remove from TOC. Closes #69
|
2017-07-14 12:56:42 +00:00 |
|
Gunnsteinn Hall
|
63904570a9
|
Fix paragraph margin X moving back issue
|
2017-07-13 15:35:54 +00:00 |
|
Gunnsteinn Hall
|
5ce423ffcd
|
Cleaned up text encoding interface and rune<->glyph conversions. Added test example for Symbol and ZapfDingbats font/encodings. Closes #59.
|
2017-07-10 15:17:46 +00:00 |
|
Gunnsteinn Hall
|
168c04d168
|
Basic creator table implementation. Closes #12.
|
2017-07-07 15:08:43 +00:00 |
|
Gunnsteinn Hall
|
ced03e48ee
|
Table of contents generating function added. Exported some methods so drawables can be created externally.
|
2017-07-06 16:26:22 +00:00 |
|
Gunnsteinn Hall
|
1a5c3eb4ac
|
Initial import of PDF creator with text, image adding capabilities
|
2017-07-05 23:10:57 +00:00 |
|