mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-11-22 13:14:04 +02:00
Measurement text size looked (almost) right on the screen but the size was all
wrong when printing. - postscript.c: "realsize" incorrectly assumed that device space used units of 1/72 inch - postscript.c: decreased measurement text size from 10 pt to 8.5 pt git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5560 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
parent
94223a8c54
commit
5b9918ced0
3
TODO
3
TODO
@ -78,3 +78,6 @@ Future directions:
|
|||||||
- advanced: silk line width
|
- advanced: silk line width
|
||||||
- future: consider editing non-canvas items (e.g., variable names/values) in
|
- future: consider editing non-canvas items (e.g., variable names/values) in
|
||||||
place
|
place
|
||||||
|
- add a means to cut&paste and copy&paste objects, and perhaps also variables
|
||||||
|
(to move objects, we need to make sure all references are included. besides
|
||||||
|
that, copy&paste should be a slight variation of delete/undelete)
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
#define PS_MEAS_LINE mm_to_units(0.015)
|
#define PS_MEAS_LINE mm_to_units(0.015)
|
||||||
#define PS_MEAS_ARROW_LEN mm_to_units(0.15)
|
#define PS_MEAS_ARROW_LEN mm_to_units(0.15)
|
||||||
#define PS_MEAS_ARROW_ANGLE 30
|
#define PS_MEAS_ARROW_ANGLE 30
|
||||||
#define PS_MEAS_TEXT_HEIGHT mm_to_units(3.5) /* ~10 pt, real mm */
|
#define PS_MEAS_TEXT_HEIGHT mm_to_units(3) /* ~8.5 pt, real mm */
|
||||||
#define PS_MEAS_BASE_OFFSET mm_to_units(0.5) /* real mm */
|
#define PS_MEAS_BASE_OFFSET mm_to_units(0.5) /* real mm */
|
||||||
#define PS_CROSS_WIDTH mm_to_units(0.01)
|
#define PS_CROSS_WIDTH mm_to_units(0.01)
|
||||||
#define PS_CROSS_DASH mm_to_units(0.1)
|
#define PS_CROSS_DASH mm_to_units(0.1)
|
||||||
@ -755,9 +755,10 @@ fprintf(file,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
fprintf(file,
|
fprintf(file,
|
||||||
|
"/originalsize 1 0 matrix currentmatrix idtransform pop def\n"
|
||||||
"/realsize {\n"
|
"/realsize {\n"
|
||||||
" 254 div 72 mul 1000 div 0 matrix currentmatrix idtransform pop\n"
|
" 254 div 72 mul 1000 div 0 matrix currentmatrix idtransform pop\n"
|
||||||
" } def\n");
|
" originalsize div } def\n");
|
||||||
|
|
||||||
fprintf(file, "%%%%EndProlog\n");
|
fprintf(file, "%%%%EndProlog\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user