We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
To Reproduce
Related code:
import ( "log" "github.com/johnfercher/maroto/v2" "github.com/johnfercher/maroto/v2/pkg/components/text" "github.com/johnfercher/maroto/v2/pkg/config" "github.com/johnfercher/maroto/v2/pkg/props" ) func C() { cfg := config.NewBuilder(). WithPageNumber("Page {current} of {total}", props.South). Build() mrt := maroto.New(cfg) m := maroto.NewMetricsDecorator(mrt) m.AddRows( text.NewRow(20, "Main features", props.Text{Size: 15, Top: 6.5}), ) document, err := m.Generate() if err != nil { log.Fatal(err.Error()) } err = document.Save("docs/assets/pdf/v2.pdf") if err != nil { log.Fatal(err.Error()) } err = document.GetReport().Save("docs/assets/text/v2.txt") if err != nil { log.Fatal(err.Error()) } }
Expected behavior
Stacktrace
Additional details (please complete the following information):
HEAD
Additional context
The text was updated successfully, but these errors were encountered:
Try the new version v2.0.0-alpha.41
Sorry, something went wrong.
Ok, solved, Thank you~
No branches or pull requests
Describe the bug
![图片](https://private-user-images.githubusercontent.com/10345361/275262469-2866d611-17a5-4a28-a319-c183a5ca6782.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1NDEzMTIsIm5iZiI6MTcyMTU0MTAxMiwicGF0aCI6Ii8xMDM0NTM2MS8yNzUyNjI0NjktMjg2NmQ2MTEtMTdhNS00YTI4LWEzMTktYzE4M2E1Y2E2NzgyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIxVDA1NTAxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM0M2E5N2U4MmUzNjJlNmQwNzI3NTNhMTZmZTBlNGJmNTY0MzZmMDY2MThlYWYzNTQxOTczOGZjM2U5ZDZiMGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.t4Ep-WeBWW01cFi1a80Km-s7Pjcet8XuPwG4bMZJ_cM)
To Reproduce
Related code:
Expected behavior
Stacktrace
Additional details (please complete the following information):
HEAD
Commit hash []Additional context
The text was updated successfully, but these errors were encountered: