789 Commits

Author SHA1 Message Date
Gunnsteinn Hall
9e11b2912b
Merge pull request #192 from unidoc/v3-merge-master-in
Merge master into v3
2018-09-06 10:27:12 +00:00
Gunnsteinn Hall
e63a74cc9c Merge branch 'master' into v3-merge-master-in 2018-09-06 09:45:04 +00:00
Gunnsteinn Hall
c250f04b52 Jenkinsfile - Add ghostscript checks on created output pdfs 2018-09-03 10:59:32 +00:00
Gunnsteinn Hall
688ded7dae
Merge pull request #185 from peterwilliams97/render.v3.hungarian
Render.v3.hungarian
2018-09-03 10:55:20 +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
4ae7016b94 Moved FontDescriptor from Type0 font dict to DescendantFont dict 2018-08-29 21:30:05 +10:00
Peter Williams
adb16cd150 Moved files to new UniDoc directory layout. 2018-08-23 21:51:32 +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
660c1b934b added change left out of previous commit 2018-08-22 15:05:34 +10:00
Peter Williams
b641b2b627 don't return a glyph for rune \x00 2018-08-22 15:02:52 +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
d96f963de2 Changed Encode signature from Encode(raw string) string to Encode(raw string) []byte. 2018-08-20 20:13:10 +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
b9561f0671 file left out of previous commit 2018-08-20 18:37:47 +10:00
Peter Williams
8b6a14a2f9 Added a function to create an encoder for a specified alphabet for simple fonts. 2018-08-20 17:58:01 +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
Gunnsteinn Hall
0e79570866
Merge pull request #184 from unidoc/setlicensekey-customername
Adding customerName parameter to SetLicenseKey
2018-08-16 17:15:16 +00:00
Alfred Hall
de4548fc61 Adding customerName parameter to SetLicenseKey
This is to make the license information more verbose. Breaking change.
2018-08-16 17:10:53 +00:00
Gunnsteinn Hall
72a6c7640b
Merge pull request #183 from unidoc/license-expired-taketwo
Fixing so old licenses still work correctly.
2018-08-15 13:42:54 +00:00
Alfred Hall
7311bdfd8e Fixing so old licenses still work correctly. 2018-08-15 13:39:58 +00:00
Gunnsteinn Hall
3b671f2cd1
Merge pull request #182 from unidoc/license-expiry
Optional license expiry for trial purposes.
2018-08-15 12:24:00 +00:00
Alfred Hall
3733585ae3 Optional license expiry for trial purposes. 2018-08-15 11:12:01 +00:00
Peter Williams
fefff56603 Cleaned up some comments in creator. 2018-08-15 17:36:42 +10:00
Peter Williams
ffa7f9b482 Changed the literal rune maps in simple.go to use hex numbers rather than character codes.
Go sometimes subsitutes literal character codes (e.g. '\u2206') with other runes. This doesn't
happen if the literal is written as a number (e.g. 0x2206 ). I am not sure why Go does this.
2018-08-15 17:15:27 +10:00
Peter Williams
1847fcf8db Converted creator to new font code 2018-08-15 09:32:13 +10:00
Gunnsteinn Hall
b1c6401dfd Bump version to 2.1.1 2018-08-14 19:41:06 +00:00
Gunnsteinn Hall
ff7c619fbe
Merge pull request #179 from unidoc/creator-tablecell-div-image-support
Creator tablecell div image support
2018-08-14 19:19:17 +00:00
Gunnsteinn Hall
ede3df6446 Merge branch 'master' into creator-tablecell-div-image-support 2018-08-14 17:57:34 +00:00
Gunnsteinn Hall
036ab51b79 Address review comments. 2018-08-14 17:57:26 +00:00
Peter Williams
d64785a8ca Added more font tests 2018-08-14 21:28:57 +10:00
Gunnsteinn Hall
d026312948 Godoc fixes in model reader.go 2018-08-14 03:02:19 +00:00
Peter Williams
26e6e114ad removed debug code that was accidentally commited 2018-08-14 12:01:12 +10:00
Peter Williams
aa88d8510a Cleaned up glyph<->unicode maps
These maps had been getting messy which made it hard for me to update them.

This change builds the full maps from source files which are included in the commit.
2018-08-14 11:56:09 +10:00
Sakib Sami
b6de33b79c - Fixed TestTableCellWrapping test 2018-08-14 02:02:03 +06:00
Sakib Sami
709d940fbe
Merge pull request #178 from s4kibs4mi/master
Control on Border with Dashed Line
2018-08-14 01:57:36 +06:00
Sakib Sami
44e98e2ced
Merge branch 'v3' into master 2018-08-14 01:56:45 +06:00
Sakib Sami
e879b00d57 - updated : Comments to godoc style 2018-08-13 23:36:22 +06:00
Gunnsteinn Hall
34ce011dbc fix 2018-08-13 16:11:52 +00:00
Alfred Hall
dd652a6c99
Merge pull request #180 from unidoc/v3-writeseeker-dependency-fix
Change PdfWriter dependency from io.WriteSeeker to io.Writer - enabli…
2018-08-13 15:55:32 +00:00
Gunnsteinn Hall
dbd31b7eb7 Fix to pull examples from v3 branch if unidoc branch starts with "v3-" 2018-08-13 15:47:45 +00:00
Gunnsteinn Hall
a49bdcb8f8 Change PdfWriter dependency from io.WriteSeeker to io.Writer - enabling PDF memory output 2018-08-13 13:58:38 +00:00
Gunnsteinn Hall
d5fc69b21b Merge branch 'master' into creator-tablecell-div-image-support 2018-08-13 09:39:38 +00:00
Sakib Sami
4e8d9d8e47 - Updated : SetBorderStyleMethod
- updated : Comments to godoc style
2018-08-13 01:58:28 +06:00
Sakib Sami
29295f0b2f - Updated : SetBorderStyleMethod
- Added : CellBorderSide constraint
2018-08-11 13:28:16 +06:00
Sakib Sami
4fb0c6e60e
Merge pull request #1 from unidoc/s4kibs4mi-master
S4kibs4mi master
2018-08-10 23:38:50 +06:00
Gunnsteinn Hall
f67228a668 Clean up 2018-08-10 12:11:55 +00:00
Gunnsteinn Hall
296596e4c9 Merge branch 'master' of https://github.com/s4kibs4mi/unidoc into s4kibs4mi-master and address border centering for double border 2018-08-10 12:05:07 +00:00
Alfred Hall
79e84023ba
Merge pull request #177 from unidoc/extracttext-endlessloop-fix
Avoid endless loop when parsing operand in contenstream. Fixes #176
2018-08-09 23:06:01 +00:00