hozuki
hozuki
1. Layout!Layout! 2. 边缘模式下绘制的字体和普通模式下的本体边界并不对齐。 3. 字体边缘像素透明度信息丢失。 关于第一点现在以`pt`为单位近似计算文字高度,效果还不错(中英文),应该是因为字体还算规整吧。 第二点和第三点……想办法ing。我现在的方案是canvas绘制文字后作为纹理绘制到上下文,因而有这两个问题。 唉,此issue出现各种高中大神……
I created a Nemerle project and added a macro using macro wizard. However the generated code contains too much redundancy ("generated code contains code that obviously doesn't appear in the...
Well I got it. Since the tutorial didn't mention it, and Nemerle is known as a meta-programming language, I thought macros feature is included in the Nemerle runtime (i.e. `Nemerle.dll`)...
Sorry it still doesn't get fixed. (`using Nemerle.Macros;` is not necessary) The IntelliSense does not prompt anything in the macro definition now. (There used to be "unbound names" errors.) But...
Thanks for the reply. My point is not about IntelliSense, but a inconsistency between IntelliSense and the compiler, on the same piece of code. Reading the tutorial again, the assembly...
If you didn't reference `Nemerle.Compiler` or `Nemerle.Macros` (not suggested), IntelliSense will at least throw an error at the `macro` keyword ("unbound name 'IMacro'"). That's why I think whether IntelliSense prompts...