gendl
gendl copied to clipboard
Positioning general-note
Replicate with:
(define-object general-note-sample (base-object)
:objects
((x-axis :type 'line :start (make-point 0 0 0) :end (make-point 1 0 0))
(origin-text :type 'general-note :start (make-point 0 0 0) :outline-shape-type :rectangle :strings "O" :character-size 0.1)))
and see where the text ends up... Am I doing something wrong or what?
Text still acts a bit flakey in non top views. What view are you using, and what output format?
Text output has recently been improved for 3d output in x3d format. Other formats need work for 3d output and non top views for raster and vector output formats.
.
On Feb 23, 2013, at 9:02 AM, reiniervandijk [email protected] wrote:
Replicate with:
(define-object general-note-sample (base-object)
:objects ((x-axis :type 'line :start (make-point 0 0 0) :end (make-point 1 0 0)) (origin-text :type 'general-note :start (make-point 0 0 0) :outline-shape-type :rectangle :strings "O" :character-size 0.1))) and see where the text ends up... Am I doing something wrong or what?
— Reply to this email directly or view it on GitHub.
I was using top view and SVG. Text is positioned far from input location. Just replicate wih code provided.
Op 23 feb. 2013 om 17:54 heeft Dave Cooper [email protected] het volgende geschreven:
Text still acts a bit flakey in non top views. What view are you using, and what output format?
Text output has recently been improved for 3d output in x3d format. Other formats need work for 3d output and non top views for raster and vector output formats.
.
On Feb 23, 2013, at 9:02 AM, reiniervandijk [email protected] wrote:
Replicate with:
(define-object general-note-sample (base-object)
:objects ((x-axis :type 'line :start (make-point 0 0 0) :end (make-point 1 0 0)) (origin-text :type 'general-note :start (make-point 0 0 0) :outline-shape-type :rectangle :strings "O" :character-size 0.1))) and see where the text ends up... Am I doing something wrong or what?
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
Yep this is an SVG/Raphael bug. PNG output looks correct. Partial fix for SVG is available in
https://github.com/genworks/Genworks-GDL/blob/master/gdl/gwl-graphics/raphael/source/lenses.lisp
Text sizing, font, positioning still need tweaking for SVG so this issue will remain open.