3
25
Fork
You've already forked fpdf
10

List item prefixed with an icon #63

Open
opened 2024年04月03日 01:25:24 +02:00 by lordofscripts · 0 comments
lordofscripts commented 2024年04月03日 01:25:24 +02:00 (Migrated from github.com)
Copy link

I am trying to create bulletted, numbered lists and the like. However, I would also like to render an item (a string) which is preceded (prefixed) with an icon:

[indentation][small icon][item text]

How can I do that? Some of the documentation is kind of cryptic. For example the Image options has x & y parameters but no mentioning of how they are used. Is the X an offset from the current position? An offset from the (left) margin? Offset from edge of page?

I am trying to create bulletted, numbered lists and the like. However, I would also like to render an item (a string) which is preceded (prefixed) with an icon: [indentation][small icon][item text] How can I do that? Some of the documentation is kind of cryptic. For example the Image options has x & y parameters but no mentioning of how they are used. Is the X an offset from the current position? An offset from the (left) margin? Offset from edge of page?
Sign in to join this conversation.
No Branch/Tag specified
main
v0.12.0
v0.11.1
v0.10.0
v0.11.0
v0.9.0
v0.8.0
v0.7.0
v0.6.0
v0.5.0
v1.4.3
v0.4.1
v0.4.0
v0.3.1
v0.3.0
v0.2.0
v0.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
go-pdf/fpdf#63
Reference in a new issue
go-pdf/fpdf
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?