LibreCAD ".lff" fonts (continued).

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

LibreCAD ".lff" fonts (continued).

ClaudeQC

On 15/09/2011 11:39, Rallaz wrote:

>
> 2011/9/15 Claude Sylvain<csylvain@electro-technica.com>:
>>
>> Hello Rallaz,
>>
>> - After taking a look at your ".lff" fonts, I think I will begin
>>   to test the "romans2.lff" font, since this font looks like
>>   the "ic-simplex.shx" font of IntelliCAD.
>>   The only noticeable difference is that "romans2.lff" is little bit
>>   smaller than "ic-simplex.shx".
>>
>> - Maybe we can create a modified version of that font
>>   ("romans2.lff") by doing the following modifications:
>>
>>         - Create the new font using "romans2.lff", and name
>>           it as "simplex.lff"
>>
> No problem  (or "simplex-1.lff")
>

- So, Ok for "simplex-1.lff".


>
>>         - Find a way to scale up "simplex.lff" such a way that
>>           its dimension is the same as "ic-simplex.shx"
>>           (found in IntelliCAD).
>>
> for now I will apply a temporary change to the code of the exporter to
> apply a scale all the coordinates and see what happens
>

- I just tested "romans2-scaled.lff, and its scale is just perfect!
  i.e.: Have the same size has IntelliCAD "ic-simplex.shx".

- Good job Rallaz.

- I updated the "simplex-1.lff" I created with this font.


>
>>         - Add characters that include accent.
>>
> This is simple reusing letters definition
>

- Good.

- Will you take care of that modification or do you
  prefer that I do it ?


>
>> - Also, this font is not copyrighted by Andrew Mustun, but by
>>   Adam Radlowski.
>
>    Adam Radlowski have only the last 14 chars (polish) "latin extended
> A" from 0104 to 00f3
> these chars are letters in public domain + accent or similar.
> tip: if you use KDE kcharselect is very useful.
>

- So, they will not have copyright problem with that font.
  Good.


>
> I think I sent you some files that are poorly converted.
> if you open romans2.cxf with master and then "select all" show:
> selected entities: 228 (114 blocks&  114 texts)
> the romans2.cxf I sent have another quantity, resend you this file.
>

Ok.


>
>> - Remark:  If you prefer that I send you emails using
>> LibreCAD forum, let me know.
>
> is fine as well
>

- Ok.  Will use LibreCAD mailing list / Forum.


- Attached, the "simplex-1.lff" font.


Claude


simplex-1.lff.zip
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD ".lff" fonts (continued).

Rallaz
simplex does not exist in librecad so is changed:
if (style == "simplex") then style = "normallatin2";

when the font is finished then rename to simplex.lff
and change the code.

considerations:
The field "Format" should be version for possible formats redesigns like v12, v2000, v2007 in dwg
The field "Author" is also handled by LibreCAD and require a line starting by "# Author:" to handle it
and not lose any author when the file is saved.

Fields
"Created:", "Last modified:" and "Notes"  are treated as commentaries
If you open the font with LibreCAD, then saved, are lost.
I have to watch that when the file is saved do not miss the comments and update # Last modified:


> - Will you take care of that modification or do you
>   prefer that I do it ?

I now I have little time and hard work
if you take care I would be happy :-)
And if you do, feel free to ask

Rallaz

Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD ".lff" fonts (continued).

Rallaz
Claude:
I have written a converter from jhf (Hershey fonts) to lff
Is a qt4 console, you can get it:
http://sourceforge.net/projects/rallaz.u/files/fontconverter/fontconverter.zip/download

I converted the file romans.jhf (in QCAD romans2.cxf) to romans.lff and added more chars, the same ones that were added by Adam Radlowski and the five vowels in capital and small, with open and closed accent.

This file is a good example in how to reuse chars definitions.
romans.lff

something else, what is your opinion regarding change already .cxf files for .lff?

Who are interested:

the above link have all Hershey fonts converted to .lff if someone else is encouraged to add characters
also have the font ISO-3098 in dwg and svg (in QCAD called normal, normallatin1, normallatin2 and standard)
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD ".lff" fonts (continued).

ClaudeQC

Hello Rallaz,


On 23/09/2011 13:59, Rallaz [via LibreCAD] wrote:

 >
 > I have written a converter from jhf (Hershey fonts) to lff
 > Is a qt4 console, you can get it:
 >
http://sourceforge.net/projects/rallaz.u/files/fontconverter/fontconverter.zip/download
 >

Great!
This will enhance LibreCAD fonts a lot :-)


 >
 > I converted the file romans.jhf (in QCAD romans2.cxf) to romans.lff and
 > added more chars, the same ones that were added by Adam Radlowski and
 > the five vowels in capital and small, with open and closed accent.
 >
 > This file is a good example in how to reuse chars definitions.
 > romans.lff
<http://librecad.1049103.n5.nabble.com/file/n4834550/romans.lff>
 >

- Interresting.  So now, we can forget "romans2.cxf" and "romans2.lff",
   and use "romans.lff".

- Wondering if I can use your "romans.lff" as replacement for
   "simplex(-1).lff".
   I will take a look at that.

- By the way, I had no time to add accents on "simplex(-1).lff" :-(


 >
 > something else, what is your opinion regarding change already .cxf files
 > for .lff?
 >

- After doing some functional tests on all ".lff" fonts I was aware
   of, I think the ".lff" font format is mostly usable.


Claude



Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD ".lff" fonts (continued).

Vladymyr
In reply to this post by ClaudeQC
Good day! I tried LibreCAD and i liked it, but didn't find the font we use in our country as standard (Ghost Type A). Searching in the internet found a free version of ttf fonts i need (opengostfont-ttf-0.3). Could You convert them to lff and send me on e-mail (chymax3m@mail.ru). Hope to see these fonts included to new versions of LibreCAD. Good luck!
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD ".lff" fonts (continued).

dxli
there's a ttf2lff tool comes with LibreCAD.

You can generate the lff fonts using ttf2lff. If you the ttf fonts are licensed by free software terms, we may include the lff fonts in LibreCAD.

Vladymyr wrote
Good day! I tried LibreCAD and i liked it, but didn't find the font we use in our country as standard (Ghost Type A). Searching in the internet found a free version of ttf fonts i need (opengostfont-ttf-0.3). Could You convert them to lff and send me on e-mail (chymax3m@mail.ru). Hope to see these fonts included to new versions of LibreCAD. Good luck!
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD ".lff" fonts (continued).

Vladymyr
This post was updated on .
In reply to this post by ClaudeQC
I've uploaded an archive with fonts and license i've been writing about. Please include it into a new release. Regards, Vladymyr
http://rghost.ru/41281459
P.S. I'm using Windows 7 SP1 x64, and couldn't find the ttf2lff tool for windows OS. Could You convert those font files and send it to my e-mail: chymax3m@mail.ru. Would be greatfull.
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD ".lff" fonts (continued).

dxli
Thanks!

I will add it to both 2.0 and 1.0 series.

as 2.0.0beta1 already tagged, it should appear in 2.0.0beta2 release.

dxli
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD ".lff" fonts (continued).

Vladymyr
Would You be so kind to send me the converted fonts?
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD ".lff" fonts (continued).

Rallaz
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD ".lff" fonts (continued).

Vladymyr
Thanks, i'd already written to dxli on e-mail about my trouble, but there were no answer. Those fonts are Cyrullic-type (Russian), but when i imported them in LibreCAD 2 beta 1 they reflected as some ASCII symbols, not letters. Is this the trouble of a new version of LibreCAD, or in me? And one more thing, sorry for offtop, the button "Grid" in main pannel doesn't create grid.
Regards, Vladymyr.