Nokia E90支持H.264视频加速的尴尬真相

在去年E90刚到手的时候,我曾经尝试分析过E90的视频播放硬件加速能力,当时试图用内置的RealPlayer播放器播放全屏尺寸的H.264未果。后来又看到网上很多关于E90视频转换的文章,不过都没有提到过如何转换支持内屏全尺寸播放的H.264视频

今天,在试用Badaboom之余,我又顺便深入测试了一次E90的H.264视频播放能力。经过多番对比测试,最终得出一个残酷的结论:

E90并不支持使用内置的RealPlayer播放器借助硬件加速播放内屏全尺寸(800×352)的H.264视频。

继续阅读Nokia E90支持H.264视频加速的尴尬真相

How to use font in Symbian

1. Forget about the stupid “Swiss”.

As you may have already read the section “How to select a font” in Symbian SDK documents, the follow example code snippet show us the way of selecting a font.

// Get an alternative font
_LIT(KMyFontName,"Swiss");
CFont* myFont;
TFontSpec myFontSpec(KMyFontName,1); // to get smallest Swiss font
CGraphicsDevice* screenDevice=iCoeEnv->ScreenDevice();
screenDevice->GetNearestFontInTwips(myFont,myFontSpec);
...

Before getting closer to the font mechanism and typeface design of Symbian, some guys have tried the code in their application and things work well. That’s why I saw this typeface name “Swiss” appear even in many commercial applications. In fact, there is no typeface named “Swiss” built-in with S60 phones, so what you get from the code above is the most closely approximate font, but may not the font really suitable. For instance, “Swiss” will make your application not compatible with East-Asian phones. To grab a better view of “How to select a font”, just read on.
继续阅读How to use font in Symbian