text inclination

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

text inclination

gnagno91
Hi! I'm trying to set italic style for TEXT entity with qt4. Anybody knows how can I do this?

Thanks,

Luca
Reply | Threaded
Open this post in threaded view
|

Re: text inclination

ClaudeQC

On 2012-05-27 15:34, gnagno91 [via LibreCAD] wrote:

 >
 > Hi! I'm trying to set italic style for TEXT entity with qt4. Anybody
 > knows how can I do this?
 >

- In LibreCAD, "TEXT" entities is similar to "TEXT" entities using
   "SHX" FONT in AutoCAD.  So, it is not possible to apply "Italic"
   style to that "TEXT" entities.

- To be able to apply "Italic" style to "TEXT" entities, it would
   require to add support for TTF ("True Type FONT") in "TEXT"
   entities.

- Rallaz can have more though on that subject.


Claude



Reply | Threaded
Open this post in threaded view
|

Re: text inclination

Rallaz
Hello,
Only one correction to Claude message:
- In LibreCAD, "text" entities is similar to "MTEXT" entities using
   "shx" font in AutoCAD.

To draw a italic text the options are:
AutoCAD mode:
  change "obliquing angle" in text entity => not implemented, thus can not be used.
  use TTF font whit italic style => not implemented, thus can not be used.

LibreCAD mode:
  draw text using lff fonts like "cursive", "italicc", "italiccs" or "italict".
  Whit the tool ttf2lff convert any TTF-italic font to LFF font and use it.

As dxl say in other thread:
> luca is working on adding text support, but still work in process

Rallaz