Adrian-George Bostan
Adrian-George Bostan
> The lifetime of the directory MUST be bound to the user being logged in. It MUST be created when the user first logs in and if the user fully...
> > I guess that `/tmp` could potentially be a candidate as a fallback, if `/run/user/UID` is not accessible for any reason. Inside `/tmp`, the existing logic can be maintained....
Hi @tdewolff. It would be great if TinyGo was supported by [xdg](https://github.com/adrg/xdg) (and implicitly by [sysfont](https://github.com/adrg/sysfont)). However, I think it might be better to raise the issues on the [TinyGo](https://github.com/tinygo-org/tinygo)...
Hi @hismailbulut. Thank you for the PR. I would love to adopt this change at this point. However `filepath.WalkDir` was introduced in Go `v1.16` (which was just released on February...
Hi @zjkyz8, You can disable `Javascript` by setting the `EnableJavascript` field of the object you are trying to convert to `false`. Here's a minimal example of that: ```go package main...
> After I disable javascript,converting still hang up at 10%. but if i do pdf.Init() before every convert, that will be ok. so do i need to do init before...
I'm not sure. It's hard to tell without seeing your code. `wkhtmltox` usually hangs if the initialization and conversion is not done on the main thread. Does the [http-server](https://github.com/adrg/go-wkhtmltopdf/tree/master/examples/http-server) example...
Hi @zaky The library needs to be initialized only once, when the application starts. This should work fine: ```go package main import ( "log" "os" pdf "github.com/adrg/go-wkhtmltopdf" ) func main()...
For usage inside `goroutines` see the [Basic web page to PDF conversion server](https://github.com/adrg/go-wkhtmltopdf/blob/master/examples/http-server) or the [Configurable web page to PDF conversion server](https://github.com/adrg/go-wkhtmltopdf/blob/master/examples/http-server-advanced) examples. Issue https://github.com/adrg/go-wkhtmltopdf/issues/3 is also relevant. The library...
> Hi, is this commit good enough to be merged? Hi @the-solipsist. Sorry for the late response. I think the external workaround is sufficiently easy to apply. Thing is, I...