GitHub user paawak opened a pull request:

    https://github.com/apache/pdfbox/pull/46

    Enable rendering of Indian languages, by reading and utilizing the GSUB 
table

    Implemented proper rendering of Indian languages, which need extensive 
Glyph substitution. The GSUB table has been read and used effectively to 
replace some compound words with their respective Glyphs. All tests are 
passing. I have tested this for the Bengali font. Please review these changes 
and let me know if it makes sense to incorporate these.
    
    Thanks,
    Palash.
    
    
    
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/paawak/pdfbox trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/pdfbox/pull/46.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #46
    
----
commit fbee400b4a894836b27d08b50435965d376be7fd
Author: Palash Ray <paawak@...>
Date:   2018-04-01T16:23:04Z

    reading Lookup-type 4: LigatureSubstitutionSubtable

commit be8f175d0258a6d356c95aeff183eb3d5fbe0615
Author: Palash Ray <paawak@...>
Date:   2018-04-08T19:32:27Z

    moving GlyphSubstitutionTable into its own package

commit 970aa146f2628bd6985b8b20a47dafa50a2fb9f3
Author: Palash Ray <paawak@...>
Date:   2018-04-08T19:39:22Z

    move structure to separate files

commit 996edb6af22d5412bafbeb21b829b2e91506a4a8
Author: Palash Ray <paawak@...>
Date:   2018-04-10T19:03:57Z

    extract workable data from GSUB

commit 81e69b8e8c03427b8d516cb899abd4485bb39ec0
Author: Palash Ray <paawak@...>
Date:   2018-04-11T18:04:03Z

    added test case for gsub table data

commit 20857ecfa9a08dd80f625a0d98e64fe90fed1a39
Author: Palash Ray <paawak@...>
Date:   2018-04-11T18:12:21Z

    making GlyphSubstitutionDataExtractor stateless

commit 4d310d1f230fcd500ab5cbf4b06db9a72f9e6ac1
Author: Palash Ray <paawak@...>
Date:   2018-04-11T19:58:25Z

    some debugging, to be removed later

commit 23be7680f102cc3c094eeb457dd5cec28d950432
Author: Palash Ray <paawak@...>
Date:   2018-04-12T17:28:56Z

    Revert "some debugging, to be removed later"
    
    This reverts commit 4d310d1f230fcd500ab5cbf4b06db9a72f9e6ac1.

commit afacdbd2af76d646986a42f3b6b1ed0f6d100290
Author: Palash Ray <paawak@...>
Date:   2018-04-12T18:20:22Z

    creating string to glyph map, added test

commit daec603b51265904c95ac359c40dad27438db21d
Author: Palash Ray <paawak@...>
Date:   2018-04-12T18:26:06Z

    use a normal HashMap instead of a TreeMap

commit 1aacda7e5ffbc3463ec3867de1105160c1e3c66c
Author: Palash Ray <paawak@...>
Date:   2018-04-12T19:56:33Z

    tokenizer

commit 4a9307c2377aa2d53a3b6b4cb9ad239bb4ff4c4b
Author: Palash Ray <paawak@...>
Date:   2018-04-12T20:04:20Z

    sorter

commit b75b784774f8475f7b72396a79492ce9d36480cc
Author: Palash Ray <paawak@...>
Date:   2018-04-12T21:25:17Z

    breaking change: getting null-pointer

commit 62c1be36ec75fad6fc2b8d1847d86b77e0c77dd4
Author: Palash Ray <paawak@...>
Date:   2018-04-13T20:14:02Z

    Revert "breaking change: getting null-pointer"
    
    This reverts commit b75b784774f8475f7b72396a79492ce9d36480cc.

commit 1113f4bc594f809fece10970f790f90d436a306e
Author: Palash Ray <paawak@...>
Date:   2018-04-13T21:00:43Z

    implemented gsub

commit 868c36a7f2accdc59da1b7608ab6610a63df2b85
Author: Palash Ray <paawak@...>
Date:   2018-04-13T21:14:02Z

    optimize: get gsub table only once

commit 48106ed49c99c230c57c099ffd540c3dadfea38b
Author: Palash Ray <paawak@...>
Date:   2018-04-13T22:15:13Z

    fixed failing test

commit 9c957cfb72a3cc00dc7d6a5f6a3a37fe79baf040
Author: Palash Ray <paawak@...>
Date:   2018-04-13T22:15:49Z

    Merge remote-tracking branch 'upstream/trunk' into trunk
    Taking the latest pull

commit 77490344920884b9ae8bc5ea3ed92873d77f1412
Author: Palash Ray <paawak@...>
Date:   2018-04-13T22:43:50Z

    bad hack to get vertical embedded fonts working

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to