Home » Developing U++ » Documentation » Documentation how-to...
Re: Documentation how-to... [message #18297 is a reply to message #18296] |
Sun, 21 September 2008 11:38 |
cbpporter
Messages: 1401 Registered: September 2007
|
Ultimate Contributor |
|
|
luzr wrote on Sun, 21 September 2008 11:51 |
I am working on automated "repair tool".
|
Great! Anyway, SVN is down, so I have to wait with docs.
Quote: |
Well, I can create it... Though I doubt about "wchar agnosticity"
|
It is wchar agnostic in the sense that I want to write the low level renderer first, which on Win32 at least will operate on 16 bits. Even if wchar is 32 bits, for rendering purposes, the latest when WinAPI is called, it will have to be converted to 16 bits, right? We need a not to complicated text renderer, because WinAPI can't really handle mixed font rendering in CJK context at least. I haven't benchmarked it yet, but performance should be equal to previous performance plus the cost of a traverse over the text that must be displayed, so I hope it will be OK. If it is not, I'll need to think of a way to keep the old text rendering, and activate the new one only if the application must be able to display full CJK.
I also started studying some shape recognition, to be able to trace CJK characters and render them manually, for systems that will never be able to have all the fonts installed, but I'm not sure about legal issues here. The traced characters will have their own style, which is distinct form all available styles in a manner that "Arial" font is distinct from "Dotum" font, so it will look very similar on first sight, but when examining the weight of curves, it will be quite different, but still, my data will come from an (or more probably a more than one) available fonts, strictly by pixel analysis, and I don't want to breach any copyright clauses.
This approach has some advantages:
1.It is a viable and lightweight fall back when native rendering using (very large) fonts is not available or not desired.
2.The huge number of CJK characters is reduced to some hundreds of composing characters. This way the rendering for most characters will definable in a couple of bytes.
3.It allows easy definition of gaiji (I'm not going to define any, but I'll include a GUI in the future in my application).
4.It allows easy animation of stroke order.
Disadvantages:
1. Uncertain legal issue.
2. Generating the initial data set will probably take days.
3. Professional fonts will probably have better font hinting.
|
|
|
|
|
Documentation how-to...
By: mirek on Fri, 22 August 2008 13:45
|
|
|
Re: Documentation how-to...
By: captainc on Fri, 22 August 2008 13:54
|
|
|
Re: Documentation how-to...
By: mirek on Wed, 27 August 2008 10:49
|
|
|
Re: Documentation how-to...
By: captainc on Wed, 27 August 2008 18:43
|
|
|
Re: Documentation how-to...
By: mirek on Wed, 27 August 2008 23:51
|
|
|
Re: Documentation how-to...
By: cbpporter on Thu, 04 September 2008 10:32
|
|
|
Re: Documentation how-to...
By: mirek on Thu, 04 September 2008 13:25
|
|
|
Re: Documentation how-to...
By: cbpporter on Thu, 04 September 2008 14:00
|
|
|
Re: Documentation how-to...
By: cbpporter on Thu, 04 September 2008 14:43
|
|
|
Re: Documentation how-to...
By: mr_ped on Thu, 04 September 2008 15:29
|
|
|
Re: Documentation how-to...
By: cbpporter on Thu, 04 September 2008 21:51
|
|
|
Re: Documentation how-to...
By: mirek on Thu, 04 September 2008 22:04
|
|
|
Re: Documentation how-to...
By: cbpporter on Thu, 04 September 2008 22:15
|
|
|
Re: Documentation how-to...
By: captainc on Thu, 04 September 2008 22:20
|
|
|
Re: Documentation how-to...
By: cbpporter on Thu, 04 September 2008 22:59
|
|
|
Re: Documentation how-to...
By: cbpporter on Thu, 04 September 2008 23:00
|
|
|
Re: Documentation how-to...
By: cbpporter on Thu, 04 September 2008 23:02
|
|
|
Re: Documentation how-to...
By: captainc on Fri, 05 September 2008 01:32
|
|
|
Re: Documentation how-to...
By: mirek on Fri, 05 September 2008 10:06
|
|
|
Re: Documentation how-to...
By: cbpporter on Fri, 05 September 2008 13:32
|
|
|
Re: Documentation how-to...
By: mirek on Fri, 05 September 2008 14:17
|
|
|
Re: Documentation how-to...
By: cbpporter on Fri, 05 September 2008 14:20
|
|
|
Re: Documentation how-to...
By: mirek on Fri, 05 September 2008 00:35
|
|
|
Re: Documentation how-to...
By: mirek on Sun, 07 September 2008 13:38
|
|
|
Re: Documentation how-to...
By: mirek on Sun, 07 September 2008 13:51
|
|
|
Re: Documentation how-to...
By: cbpporter on Tue, 09 September 2008 05:10
|
|
|
Re: Documentation how-to...
By: captainc on Tue, 09 September 2008 13:10
|
|
|
Re: Documentation how-to...
By: mirek on Tue, 09 September 2008 13:37
|
|
|
Re: Documentation how-to...
By: cbpporter on Wed, 10 September 2008 05:34
|
|
|
Re: Documentation how-to...
By: cbpporter on Thu, 18 September 2008 05:06
|
|
|
Re: Documentation how-to...
By: mirek on Thu, 18 September 2008 18:28
|
|
|
Re: Documentation how-to...
By: mirek on Sun, 21 September 2008 09:46
|
|
|
Re: Documentation how-to...
By: cbpporter on Sun, 21 September 2008 10:07
|
|
|
Re: Documentation how-to...
By: mirek on Sun, 21 September 2008 10:51
|
|
|
Re: Documentation how-to...
By: cbpporter on Sun, 21 September 2008 11:38
|
|
|
Re: Documentation how-to...
By: mirek on Sun, 21 September 2008 11:59
|
|
|
Re: Documentation how-to...
By: mirek on Mon, 22 September 2008 18:37
|
|
|
Re: Documentation how-to...
By: cbpporter on Tue, 23 September 2008 18:53
|
|
|
Re: Documentation how-to...
By: mirek on Tue, 23 September 2008 19:43
|
|
|
Re: Documentation how-to...
By: mirek on Thu, 04 September 2008 22:00
|
|
|
Re: Documentation how-to...
By: mr_ped on Fri, 05 September 2008 15:10
|
|
|
Re: Documentation how-to...
By: captainc on Fri, 05 September 2008 15:47
|
|
|
Re: Documentation how-to...
By: cbpporter on Fri, 05 September 2008 16:52
|
|
|
Re: Documentation how-to...
By: captainc on Fri, 05 September 2008 17:15
|
|
|
Re: Documentation how-to...
By: cbpporter on Fri, 05 September 2008 18:11
|
|
|
Re: Documentation how-to...
By: cbpporter on Fri, 05 September 2008 20:29
|
|
|
Re: Documentation how-to...
By: mirek on Fri, 05 September 2008 20:35
|
|
|
Re: Documentation how-to...
By: cbpporter on Fri, 05 September 2008 20:37
|
|
|
Re: Documentation how-to...
By: captainc on Fri, 05 September 2008 20:59
|
|
|
Re: Documentation how-to...
By: cbpporter on Sat, 06 September 2008 21:05
|
|
|
Re: Documentation how-to...
By: mirek on Sat, 06 September 2008 21:17
|
|
|
Re: Documentation how-to...
By: mirek on Sun, 07 September 2008 08:59
|
|
|
Re: Documentation how-to...
By: mirek on Sun, 07 September 2008 09:00
|
|
|
Re: Documentation how-to...
By: cbpporter on Sun, 07 September 2008 09:20
|
|
|
Re: Documentation how-to...
By: mirek on Sun, 07 September 2008 10:00
|
|
|
Re: Documentation how-to...
By: mirek on Sun, 07 September 2008 10:06
|
|
|
Re: Documentation how-to...
By: mirek on Sun, 07 September 2008 10:13
|
|
|
Re: Documentation how-to...
By: mirek on Fri, 05 September 2008 20:53
|
|
|
Re: Documentation how-to...
By: cbpporter on Fri, 05 September 2008 20:59
|
|
|
Re: Documentation how-to...
By: Oblivion on Mon, 06 October 2008 21:03
|
|
|
Re: Documentation how-to...
By: captainc on Thu, 09 October 2008 21:23
|
|
|
Re: Documentation how-to...
By: mirek on Thu, 09 October 2008 23:26
|
Goto Forum:
Current Time: Fri Mar 29 09:01:52 CET 2024
Total time taken to generate the page: 0.02938 seconds
|