The task consists of:
Having a rich text box where a basic text input and formatting happens (*1).
All TrueType fonts must be possible, including single stroke fonts (*2).
When the text is there, we want the output of the vectors (glyph outline) as a vector file.
There is no need to display the vectors in the test app.
This vector file is wanted as a simple, but clean DXF file with the splines in it, to test the output in a CAD program.
Simple DXF means one layer only, no blocks or something, just the entities.
The file must be readable in AutoCAD, QCAD, Rhinoceros or any CAD which can read DXFs with splines.
The single splines must be represented as splines, not hacked to lines.
The received output must match the view in the rich text box.
We also need a scale factor involved to match the output size to the given font sizes.
While the calculation goes on, a progress must be provided, 0 to 100%.
In the test app, this progress must be seen, e.g. as a form with progress bar.
Also there must be a ‘kill switch’ to stop the calculation and free the DLL.
The source code must be in pure VB6 (Visual Basic 6), no .NET.
No third-party tools allowed.
The source itself must be industry-standard like, means well structured, sufficient comments, no coding errors, no goto, no gosub.
The final result must be in a single DLL with no further dependencies.
A string of rich text in, a string of DXF data out.
It must run under all Windows versions since XP SP3.
Fixing of bugs is part of the project, the final result must be error-free.
For the project flow, we insist on status reports every Friday.
The status report must include the current coding result.
This is good for both of us, so we can clear misunderstandings or whatever before the work is heading in the wrong direction.
Also the deadline must be fixed and the result of the work must be there on this date.
As always, we are open for discussion, also when the project is going on.
You may have a look at our former projects, which all went well.
We want to pay the final result only, not intermediate milestones.
The copyright of the work will be ours.
As an inspiration, you can have a look at QCAD.
There you can draw a text, and then explode.
This gives exactly the wanted result.
For QCAD, there is also the source code available.
There are some other solutions around.
Such a basic text editor can be found easily on PSC, e.g. NotePad Trial.
This editor must not be very sophisticated, just basic function for formatting like font, size, left or right etc..
It is only used for the test app.
Examples can be found on onelinefonts.com.