Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Edwin font size

Name: Anonymous 2010-05-16 3:43

how do I change the font size in Edwin on Ubuntu?

Name: Anonymous 2010-05-16 3:55

const CFont* logicalFont = AknLayoutUtils::FontFromId(EAknLogicalFontPrimarySmallFont);
// Extract font information
TFontSpec fontspec = logicalFont->FontSpecInTwips();

TCharFormat charFormat = TCharFormat(fontspec.iTypeface.iName, fontspec.iHeight);
TCharFormatMask charFormatMask;
charFormatMask.SetAttrib(EAttFontTypeface);
charFormatMask.SetAttrib(EAttFontHeight);

CCharFormatLayer* cCharFL = CCharFormatLayer::NewL(charFormat,charFormatMask);

iUrEditor->SetCharFormatLayer(cCharFL);

Name: Anonymous 2010-05-16 3:57

>iTypeface,iName,iHeight

Name: Anonymous 2010-05-16 4:01

>>3
iName iSteve iGay

Name: Anonymous 2010-05-16 4:11

>>2
Thank you, how do I enter that?

Name: Anonymous 2010-05-16 4:43

>>5
Inside the [code] tags.

Name: Anonymous 2010-05-16 5:24

Name: Anonymous 2010-05-16 19:22

>>7
OP here, thanks I figured it out.
No really.
Thanks for the link!

for posterity:
alt+x set-font, press enter
press space twice for a list of fonts, delete the automatic dash
mouse click near the font, ctrl+k to cut, ctrl+y to paste, delete the extra spaces at the end, press enter
enjoy legible text
repeat at next program start

Name: Anonymous 2010-05-16 19:38

repeat at next program start
I'd check in the edwin manual if I were you. there should be some way to set this in your .edwin (or whatever its called).

Don't change these.
Name: Email:
Entire Thread Thread List