Re: How to know real text width, reading from a dxf file ?
- From: bojar@xxxxxxxxxx
- Date: 5 Feb 2006 15:23:37 -0800
JoseMaria wrote:
I am developing software that reads from dxf files and processes the
results. I need to know the real height and width of text elements.
With height there is no problem since I can retrieve it. It appears
with code 40 in the dxf file.
The problem is width. I find no means to know the real text width. I
can read from the dxf file the "width / height ratio" ( code 41 ) ,
multiply this ratio by the the height and the number of characters, but
I have been disappointed to see that this is not exact. I have seen for
instance text elements with a "width / height ratio" of 1 with digits
which have a height much greater than width. I usually handle text
elements which display numbers, and their digits are usually drawn
taller than wider, even if they show a width/height ratio of 1 or
similar.
Any help would be appreciated, since I need to know what area these
elements cover.
Thanks
.
- Follow-Ups:
- References:
- How to know real text width, reading from a dxf file ?
- From: JoseMaria
- How to know real text width, reading from a dxf file ?
- Prev by Date: How to know real text width, reading from a dxf file ?
- Next by Date: Re: How to know real text width, reading from a dxf file ?
- Previous by thread: How to know real text width, reading from a dxf file ?
- Next by thread: Re: How to know real text width, reading from a dxf file ?
- Index(es):
Relevant Pages
|
|