From: <col...@da...> - 2008-09-22 21:58:17
|
Actually these are things that Freetype define. Take a look... 1>ftinit.obj : error LNK2020: unresolved token (0A00000F) t1cid_driver_class 1>ftinit.obj : error LNK2020: unresolved token (0A000010) tt_driver_class 1>ftinit.obj : error LNK2020: unresolved token (0A000013) bdf_driver_class 1>ftinit.obj : error LNK2020: unresolved token (0A000015) ft_smooth_lcdv_renderer_class 1>ftinit.obj : error LNK2020: unresolved token (0A00001D) t1_driver_class 1>ftinit.obj : error LNK2020: unresolved token (0A00001F) pcf_driver_class 1>ftinit.obj : error LNK2020: unresolved token (0A000020) ft_smooth_renderer_class 1>ftinit.obj : error LNK2020: unresolved token (0A000021) ft_smooth_lcd_renderer_class 1>ftinit.obj : error LNK2020: unresolved token (0A000027) pfr_driver_class 1>ftinit.obj : error LNK2020: unresolved token (0A00002A) ft_raster1_renderer_class 1>ftinit.obj : error LNK2020: unresolved token (0A00002F) cff_driver_class 1>ftinit.obj : error LNK2020: unresolved token (0A000033) t42_driver_class 1>ftinit.obj : error LNK2020: unresolved token (0A000034) winfnt_driver_class 1>ftstroke.obj : error LNK2001: unresolved external symbol "struct FT_Glyph_Class_ const ft_outline_glyph_class" (?ft_outline_glyph_class@@$$Q3UFT_Glyph_Class_@@B) 1>.\..\..\..\objs\debug_mt\freetype.dll : fatal error LNK1120: 14 unresolved externals Unfortunately my C++ skills are rusty to say the least. I don't see what is different between these "tokens" that are not compiling and those that are. Colin sh...@mi... 09/22/2008 01:35 PM Please respond to sha...@li... To sha...@li... cc Subject Re: [SharpOS Developers] Freetype Hi Colin, Sure. We're always interested in help. I suppose what you're seeing are imports from the C runtime library. As we don't have one there needs to be a replacement of some sort there though. Mike > -----Ursprüngliche Nachricht----- > Von: col...@da... [mailto:col...@da...] > Gesendet: Montag, 22. September 2008 21:56 > An: sha...@li... > Betreff: [SharpOS Developers] Freetype > > > Hi guys, > > I'm new here so I don't know the status of the project too > well. Have any of you tried to compile Freetype to MSIL? I've > spent a couple of hours and had some amount of success. > > I don't know what to do about the calls to setjmpor longjmpso > I've just dummied those out. After that I get about 15 > unresolved externals that I'm struggling with. Its been a > while since I looked at c++, I've been a c# man for a number > of years now. Would anybody be interested in looking at what > I have so far? > > Cheers > > Colin > If you are not the intended addressee, please inform us > immediately that you have received this e-mail in error, and > delete it. We thank you for your cooperation. > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ SharpOS-Developers mailing list Sha...@li... https://lists.sourceforge.net/lists/listinfo/sharpos-developers If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation. |
From: Jonathan D. <jon...@gm...> - 2008-09-23 19:28:15
|
I don't have time to hash out a long email now but I have been working on porting freetype to c#. I am going to run it off system.drawing so that it will drop in when that is complete. Quick status: started decoding the instructions, reminds me of msil decoding :), albiet horrific documentation. I don't think anyone would be too hot on just compiling freetype as is, it wasn't architected with the .net paradigms/practices/styles in mind. It will be like using mogre (anyone used it? it hurts to write code like that). Not to mention [I assume] most of the coders around here don't use c++ that much :). I will see about dropping my code in a repo when it gets a bit more feature complete. Email me direct if you want a zip of what I have so far. -----Original Message----- From: col...@da... Sent: 22 September 2008 09:55 PM To: sha...@li... Subject: [SharpOS Developers] Freetype Hi guys, I'm new here so I don't know the status of the project too well. Have any of you tried to compile Freetype to MSIL? I've spent a couple of hours and had some amount of success. I don't know what to do about the calls to setjmpor longjmpso I've just dummied those out. After that I get about 15 unresolved externals that I'm struggling with. Its been a while since I looked at c++, I've been a c# man for a number of years now. Would anybody be interested in looking at what I have so far? Cheers Colin If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation. |
From: Colin B. <col...@ho...> - 2008-09-24 13:59:44
|
I would be interested in knowing how complete or incomplete this is. I agree that a complete rewrite would be a better idea, I'm just surprised that somebody is actually attempting it. From: jon...@gm...Date: Tue, 23 Sep 2008 20:57:55 +0200To: sha...@li...Subject: Re: [SharpOS Developers] Freetype I don't have time to hash out a long email now but I have been working on porting freetype to c#.I am going to run it off system.drawing so that it will drop in when that is complete.Quick status: started decoding the instructions, reminds me of msil decoding :), albiet horrific documentation.I don't think anyone would be too hot on just compiling freetype as is, it wasn't architected with the .net paradigms/practices/styles in mind. It will be like using mogre (anyone used it? it hurts to write code like that).Not to mention [I assume] most of the coders around here don't use c++ that much :). I will see about dropping my code in a repo when it gets a bit more feature complete.Email me direct if you want a zip of what I have so far. From: col...@da...Sent: 22 September 2008 09:55 PMTo: sha...@li...Subject: [SharpOS Developers] FreetypeHi guys,I'm new here so I don't know the status of the project too well. Have any of you tried to compile Freetype to MSIL? I've spent a couple of hours and had some amount of success. I don't know what to do about the calls to setjmpor longjmpso I've just dummied those out. After that I get about 15 unresolved externals that I'm struggling with. Its been a while since I looked at c++, I've been a c# man for a number of years now. Would anybody be interested in looking at what I have so far?CheersColinIf you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation. _________________________________________________________________ Get more out of the Web. Learn 10 hidden secrets of Windows Live. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008 |
From: Jonathan D. <jon...@gm...> - 2008-09-25 04:16:31
|
Okay, I will have some free time this weekend and I will attempt to get all the vm instructions decoded. Right now its more architectural than anything else, but I am making fast progress. I have most of the important tables decoded. I am going to dodge the obvious things like hinting etc. for now, and hopefully someone with typography experience joins later on. I am really hoping I will have something working on top of system.drawing by monday, even if its doesn't come out just right. This weekend is going to be busy :). -----Original Message----- From: Colin Burn <col...@ho...> Sent: 24 September 2008 03:59 PM To: sha...@li... Subject: Re: [SharpOS Developers] Freetype I would be interested in knowing how complete or incomplete this is. I agree that a complete rewrite would be a better idea, I'm just surprised that somebody is actually attempting it. From: jon...@gm... Date: Tue, 23 Sep 2008 20:57:55 +0200 To: sha...@li... Subject: Re: [SharpOS Developers] Freetype I don't have time to hash out a long email now but I have been working on porting freetype to c#. I am going to run it off system.drawing so that it will drop in when that is complete. Quick status: started decoding the instructions, reminds me of msil decoding :), albiet horrific documentation. I don't think anyone would be too hot on just compiling freetype as is, it wasn't architected with the .net paradigms/practices/styles in mind. It will be like using mogre (anyone used it? it hurts to write code like that). Not to mention [I assume] most of the coders around here don't use c++ that much :). I will see about dropping my code in a repo when it gets a bit more feature complete. Email me direct if you want a zip of what I have so far. From: col...@da... Sent: 22 September 2008 09:55 PM [The entire original message is not included] |
From: Sander v. R. <s.v...@sy...> - 2008-09-25 07:16:46
|
You know, i think eventually we should translate truetype directly to msil (and JIT compile it when we're able to).. should be good performance wise |
From: Jonathan D. <jon...@gm...> - 2008-09-25 14:36:08
|
I also reached that stage a while back. Unfortunately, it seems as though the best method is caching the glyphs. Wpf and windows do that, and I would assume freetype and the linux libraries do that as well. Although... When it comes to fitting and hinting I don't think cached glyphs could be used as-is. Hmmm. Sounds like fun, maybe I will have a crack at it. The benefits of machine execution probably outweigh the benefits of caching by a lot, especially when it comes to memory usage. Tweaking existing paths is also probably expensive. You could generate the ttf assembly when the ttf is 'installed', and be over with ttf monstrosities (those guys belong in a zoo where we can feed them true type bananas). Different font codecs (opentype, bitmap FONs, etc) would simply take an input stream and provide an assembly that implements well known interfaces. Thanks for iterating that thought process again Sander! Ttf is fun once again! -----Original Message----- From: Sander van Rossen <s.v...@sy...> Sent: 25 September 2008 09:16 AM To: sha...@li... Subject: Re: [SharpOS Developers] Freetype You know, i think eventually we should translate truetype directly to msil (and JIT compile it when we're able to).. should be good performance wise ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ SharpOS-Developers mailing list Sha...@li... https://lists.sourceforge.net/lists/listinfo/sharpos-developers |