Peter Williams
bb709b4381
Added FontName to FontDescriptor when loading TrueType based fonts from file
2018-09-07 21:43:39 +10:00
Peter Williams
4d5156c4a0
Added NewStandard14FontMustCompile
2018-09-07 19:11:58 +10: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
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
Peter Williams
d64785a8ca
Added more font tests
2018-08-14 21:28:57 +10: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
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
a49bdcb8f8
Change PdfWriter dependency from io.WriteSeeker to io.Writer - enabling PDF memory output
2018-08-13 13:58: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
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
Sakib Sami
fd475ad84d
- Added : Required modification on border and basic line implementation
...
- BorderTest
- CellTest
2018-08-10 01:40:40 +06:00
Gunnsteinn Hall
38157c3a51
Fix border corners and BasicLine Draw
2018-08-08 14:48:01 +00:00
Sakib Sami
c024c237d2
- Added : BorderTest
2018-08-08 08:09:06 +06:00
Sakib Sami
f6a254095c
- Added : BasicLine in creator
2018-08-07 01:59:36 +06:00
Sakib Sami
bf0a51ea71
- Added : Color for basic line
2018-08-04 02:07:06 +06:00
Sakib Sami
9184246eb1
- Added : Code cleanup
2018-08-04 02:03:15 +06:00
Sakib Sami
f823d3b37e
- Added : Code cleanup
2018-08-04 00:51:37 +06:00
Sakib Sami
a3518f5d5e
- Added : BasicLine with test
2018-08-04 00:37:28 +06:00
Gunnsteinn Hall
68a1dee9f2
Fix minimal parsing testcase
2018-08-03 11:01:54 +00:00
Gunnsteinn Hall
e254fd763c
Move test and supplementary files to nearest package testdata.
2018-08-03 11:01:39 +00:00
Gunnsteinn Hall
96f358543a
Remove unintended BasicLine in draw
2018-08-03 10:26:45 +00:00
Gunnsteinn Hall
0b25fcc4e7
golint and godoc fixes in textencoding
2018-08-03 10:18:44 +00:00
Gunnsteinn Hall
a487f6848a
godoc and golint fixes
2018-08-03 10:18:08 +00:00
Gunnsteinn Hall
c9ec3ff8d9
godoc fix
2018-08-03 10:17:17 +00:00
Gunnsteinn Hall
6056cf828d
remove dot import and address golint in contentstream
2018-08-03 10:17:06 +00:00
Gunnsteinn Hall
6c34f32c7f
Updating headers and package descriptions
2018-08-03 10:15:42 +00:00
Gunnsteinn Hall
a505bf67dd
Move supplementary files to testdata folders
2018-08-03 10:13:21 +00:00
Sakib Sami
efd877ea7b
- Development ongoing P1
2018-08-02 22:45:41 +06:00
Gunnsteinn Hall
1321303950
Address golint for interface methods
2018-08-02 10:48:44 +00:00
Gunnsteinn Hall
7c4b1640ef
Address golint comments
2018-08-02 00:29:47 +00:00