Comments (6)
Yes, those functions are correctly implemented with ttf fonts.
Look at the file /pdf/test/ttf_test.dart for an example.
from dart_pdf.
Thanks for the pointer.
from dart_pdf.
My first attempt at a document generator that has text that will wrap for both line and page can be found https://github.com/magnatronus/flutter-pdf-doc
thanks for the help so far!
from dart_pdf.
@magnatronus, I'm writing a Flutter-like Widget system wor this Pdf library. It is available in the widgets
branch. If you want to help, that would be much appreciated!
It would look like this:
var pdf = Document();
pdf.addPage(Page(
child: Column(children: <Widget>[
Text("Hello World"),
Image(image),
Shape(shape),
])
));
from dart_pdf.
@DavBfr , if I can help sure, I will take a look.
from dart_pdf.
@DavBfr I have been having a look at the widgets branch and have come across a few issues with the way it is currently set up.
You have defined your own classes called, for example, StatelessWidget, Widget, LimitedBox , Context, but as Flutter already has these defined when in a Flutter environment they clash with the Flutter classes. I know they could be name-spaced but as they are a fundamental part of the underlying Flutter building blocks I wondered whether they should be prefixed , maybe with Pdf to make they unique to your library?
from dart_pdf.
Related Issues (20)
- Problems using another plugin to print PDF converted to image with Sewoo LKP41 HOT 4
- ! pdf 3.10.8 from git https://github.com/DavBfr/dart_pdf.git at a67f42 in pdf (overridden)
- using table with pdf cause This widget created more than 20 pages.
- When a wand to export my PDF file i Have a error. 'package:pdf/src/pdf/format/num.dart': Failed assertion: line 32 pos 12: '!value.isNaN': is not true. HOT 3
- in Arabic some letters appear in a wrong way HOT 1
- Merge PDF in Premium Version HOT 2
- Features not working. HOT 2
- How to add signature image at the bottom right corner of last pdf document. HOT 1
- directPrintPdf multiple copies
- How to block/unable save to pdf
- Error on mac os build with flutter 3.21.0-1.0.pre.2 HOT 1
- Paragraph inside Partition does not pass content to the next page as expected.
- Printing a PDF with layoutPdf fails to print: The 'net.nfet.printing' channel sent a message from native to Flutter on a non-platform thread
- Bangla text Rendering issue.
- PdfPreview renders inaccurate colors on Android
- Khmer Language is still does't working, Please help to improve too
- I/flutter ( 3281): Exception: Exception: Unable to guess the image type 1311710 bytes
- Does not apply PdfColor in alpha HOT 1
- Pdf/A
- Restrictions on customizations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dart_pdf.