libredwg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libredwg] Dabbling in some coding.


From: Duncan Lithgow
Subject: Re: [libredwg] Dabbling in some coding.
Date: Fri, 2 Jul 2021 23:03:15 +0200

Hi Dave

Over at osarch.org we had a chat about the pros and cons of SVG for technical documentation. https://community.osarch.org/discussion/170/

I'm sure they'd love to share their progress and hear about what you're working on.

Duncan

On Fri, Jun 18, 2021 at 3:08 PM Dave Coventry <dgcoventry@gmail.com> wrote:
Do you know why it's only reading as 1, then?

Where can I find the mechanism for reading the contents of an MTEXT string?

On Fri, Jun 18, 2021 at 12:21 PM Reini Urban <reini.urban@gmail.com> wrote:
>
>
>
> Dave Coventry <dgcoventry@gmail.com> schrieb am Fr., 18. Juni 2021, 10:10:
>>
>> Hi Reini,
>>
>> Still trying to read MTEXT.
>>
>> If I get the length of the text entity:
>>
>> Dwg_Entity_MTEXT *text = obj->tio.entity->tio.MTEXT;
>> size_t len=strlen(text->text);
>> fprintf(stderr, "mtext length is:%d\n",len);
>>
>> it gives me a length of 1.
>>
>> if the MTEXT entity is '\A1;1700', then the length should be 8.
>
>
>
> Yes, the string would beĀ  "\\A1;1700", so length 8
>
>>
>> Or is the backslash still messing with the results?
>>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]