scalable-font activity

https://gitlab.com/bztsrc/scalable-font.atom · nguồn: rss


bzt pushed to project branch master at bzt / scalable-font

2020-05-19T00:18:08.000Z · bzt

bzt(79d2e48c) at 19 May 00:18 Added SSFN2.0 link

bzt closed issue #1: Problem in ttf2sfn.c compilation at bzt / scalable-font

2020-05-12T08:38:14.000Z · bzt

Hi. I am trying to compile sfn2asc.c I installed freetype2 usingNow I'm trying to compile ttf2sfn.c this wayBut I get these errors:What's wrong? Did I install the wrong version of freetypes? I also tried downloading the latest version of freetypes2 from an official site, nothing changed.Thanks.sudo apt install freetype2-demosgcc -I/usr/include/freetype2 ttf2sfn.cttf2sfn.c: In function ‘main’:ttf2s

bzt commented on issue #1 at bzt / scalable-font

2020-05-12T08:38:13.000Z · bzt

I'm using a different, more bullet-proof approach with SSFN2. I've tested its sfnconv with both your files and it worked flawlessly. For now, I'd say you can use the .sfn font I've attached, and keep tuned for the 2.0 which will arrive within a week (or two in worst case).Cheers, bzt

mrjbom commented on issue #1 at bzt / scalable-font

2020-05-08T12:33:17.000Z · mrjbom

It's very strange that you have it working and I don't. That's what I get.$ ./ttf2sfn -6 -s ~/os/UbuntuBold.ttf ~/os/UbuntuBold.sfnLoaded 'Ubuntu' num_glyphs: 1264, units_per_EM: 1000Fragments: 0, Characters: 0, bbox: (1024,1024) (0,0), baseline: 0, underline: 993No kerning informationOriginal 333612 bytes, compressed 352 bytes, -99.9%

bzt commented on issue #1 at bzt / scalable-font

2020-05-08T08:01:15.000Z · bzt

Hi,Yes. It is only the format that matters, family is just a property.I've tried your examples. UbuntuBold.ttf was converted perfectly (128365 bytes), but I can confirm that something went wrong with UbuntuBoldSS.ttf (118784 bytes), because sfn2asc -d reports corrupted font.It would be helpful if you could provide the final outputs of the conversion. For me, that is:As you can see, there's a segfa

mrjbom commented on issue #1 at bzt / scalable-font

2020-05-07T14:00:34.000Z · mrjbom

Great. I'm fine now, thank you. Tell me please, can this utility convert fonts from other families?For example. I downloaded the fonts from the official Ubuntu . Now I'm trying to load it with this command. I tried to use different flags from -r to-h, in any case I get a very small file (about 300 bytes), even when compiling with the best quality (-6). sfn2asc writes that the file is corrupted.web

bzt commented on issue #1 at bzt / scalable-font

2020-05-07T07:16:31.000Z · bzt

For the records, I haven't used FT_Error_String in SSFN2.0. You could also remove it from SSFN1.0's ttf2sfn.c.Line 530 should be:And line 653:You won't see a textual error message, just the code if anything goes wrong. Small price to make it compile I think. (This isn't very important, because neither FT_Set_Char_Size nor FT_Decompose is likely to throw an error. They never did in my tests, anyway

bzt commented on issue #1 at bzt / scalable-font

2020-05-07T07:07:58.000Z · bzt

Hi,According to the include file (fterrors.h) should get included with freetype.h. This suggests it should be implemented in the library no matter what.https://freetype.org/freetype2/docs/reference/ft2-error_enumerations.htmlIf you list the functions in libfreetype.so, what do you see? Is there an FT_Error_String listed? (Use nm or readelf something similar tool to parse ELF file's sections.)Cheer

mrjbom commented on issue #1 at bzt / scalable-font

2020-05-06T22:27:24.000Z · mrjbom

I downloaded the latest version of the library and when compiling, I specify the path to it. I do it like this:However, the linker cannot find the `FT_Error_String' character. It prints this error message:This is very strange considering that I use the latest version of the library. Also, your Makefile compiles ttf2sfn.c in exactly the same way.gcc ttf2sfn.c -I/home/emilia/os/freetype-2.10.1/inclu

bzt commented on issue #1 at bzt / scalable-font

2020-05-04T08:15:54.000Z · bzt

Hi,There's something wrong with your include, that's causing the problems. Using freetype2 is not trivial, at install it should generate an ft2build.h header which (I know, insane, but that's how it is). If your ft2build.h does not have the include defines correctly, then ttf2sfn.c (or any other ft2 using source) wouldn't be able to get the function prototypes.defines the includesis a clear indica

bzt pushed to project branch master at bzt / scalable-font

2019-11-25T04:05:09.000Z · bzt

bzt(1ef1cb97) at 25 Nov 04:05 MinGW support for sfnedit

bzt pushed to project branch master at bzt / scalable-font

2019-07-05T18:06:56.000Z · bzt

bzt(b88fd362) at 05 Jul 18:06 Sfnedit saving to ASC added

bzt pushed to project branch master at bzt / scalable-font

2019-06-27T15:24:33.000Z · bzt

bzt(69469bc4) at 27 Jun 15:24 Added .gz extension to Vera fonts

bzt pushed to project branch master at bzt / scalable-font

2019-06-18T02:01:05.000Z · bzt

bzt(b5591aae) at 18 Jun 02:01 Kerning in editor

bzt pushed to project branch master at bzt / scalable-font

2019-06-14T02:17:33.000Z · bzt

bzt(426c93fc) at 14 Jun 02:17 Docs

bzt pushed to project branch master at bzt / scalable-font

2019-06-14T01:50:45.000Z · bzt

bzt(f47b6030) at 14 Jun 01:50 Docs

bzt pushed to project branch master at bzt / scalable-font

2019-06-14T01:23:00.000Z · bzt

bzt(7db91930) at 14 Jun 01:23 More editor stuff

bzt pushed to project branch master at bzt / scalable-font

2019-06-12T23:55:43.000Z · bzt

bzt(ccf3c585) at 12 Jun 23:55 More sfnedit

bzt pushed to project branch master at bzt / scalable-font

2019-06-07T23:14:30.000Z · bzt

bzt(e5378bb1) at 07 Jun 23:14 Added collections and coloring in editor