hummusRecipe icon indicating copy to clipboard operation
hummusRecipe copied to clipboard

how i can make tittle link?

Open asasKkkkkk opened this issue 6 years ago • 8 comments

i create text with links pdf.text('https://www.google.com', 165, 722);

http://prntscr.com/joh4ah

its hyperlink how i can change title?

asasKkkkkk avatar May 30 '18 10:05 asasKkkkkk

I am afraid that HummurRecipe does not have this feature yet. Text now only supports the markup annotation(underline, strike...). The link annotation is not implemented yet. The future api will be something like:

            .rectangle(0, 0, width, height, {
                color: [255, 0, 0],
                link: 'http://google.com'
            })
            .text('Google', 'center', 150, {
                link: 'https://google.com'
            })

https://github.com/galkahana/HummusJS/blob/3533d7ae7187a4dc5136c9abed7e0deba091ee6c/src/deps/PDFWriter/DocumentContext.cpp#L1908

chunyenHuang avatar May 30 '18 23:05 chunyenHuang

Next release soon?

asasKkkkkk avatar Jun 19 '18 12:06 asasKkkkkk

Not yet, probably on July, I am pretty busy recently.

chunyenHuang avatar Jun 19 '18 20:06 chunyenHuang

any updates on adding the "link" feature?

Zenitram-Oriaj avatar Sep 24 '18 22:09 Zenitram-Oriaj

any updates on the possible next release date? thanks!

masterRokshi avatar Nov 14 '18 09:11 masterRokshi

https://github.com/galkahana/HummusJS/issues/337

chunyenHuang avatar Dec 04 '18 17:12 chunyenHuang

Any luck with this feature?

phynweb avatar Jul 17 '20 23:07 phynweb

any updates on adding the "link" feature?

secreter avatar Dec 26 '21 14:12 secreter