How to set the default font size, font face in RTE?

Subject tells the question.

Thanks for any help!

11/12/2000 2:02:14 AM
sybase.powerscript 7704 articles. 0 followers. Follow

2 Replies

Similar Articles

[PageSpeed] 8


On Sun, 12 Nov 2000 13:02:14 +1100,
 in powersoft.public.powerbuilder.powerscript
John Smith <> wrote: 
>Subject tells the question.
>Thanks for any help!

Bruce Armstrong [TeamSybase]

Preach the gospel at all times. If necessary, use words. [Francis of Assisi]                |  |

-----------== Posted via the PFCGuide Web Newsreader ==----------
11/13/2000 7:42:18 PM
Here's how I did it. I saved an RTF format document in Word, then 
InsertDocument() ed it into my RTE control. Using debug, I came up with the 
following string by CopyRTF() into a local string.

Code snippet follows 
String here_is_rtf
here_is_rtf = "{\rtf1\ansi\deff0{\fonttbl{\f0\fswiss Arial 
Great said tony}{\operator myself}{\author 
Code snippet ends

On my machines, {\f0\froman Tms Rmn;} seems to be the RTF font default. I 
don't know where it comes from or why it is set to this, but I replace this 
in the string with the parameters described at: 

e.g. replace 'f0\froman Tms Rmn' with 'fswiss Arial Black' and it seems to 
work. PB should have the hooks to permit the coder to set this on control 
initialization. I spent many happy hours looking for these properties and 
didn't find them.
11/14/2000 10:20:29 PM

Similar Artilces:

Name: robbie Product: Firefox Summary: font!font!font! Comments: Firefox font is bad !Very bad! The only reason I don't want to use firefox is font problem . I know how to change the font on firefox but it just not good enough. Internet explorer font is excellent.It also the only thing better than firefox. Browser Details: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Foxy/1; .NET CLR 1.1.4322) ...

Fonts & Fonts Size Settings
What Control the Fonts & Fonts Size Settings you see at the browser? I have deployed an application and found it is not WYSWYG for some PCs. The alignment of the GUI is completely off. This is strange that when my browser is connect to my development PC (XP), the alignment is fine. But when the same program is deployed at the App Server (Win2k3), the alignment is completely off. I didn't change my browser settings in between. Thanks in advance, SAM ...

changing default font size does not affect font size on form buttons and input fields.
Hello, in I propose that changing the default font size in Preferences should also change the font sizes for form controls. On windows it works this way. Concerning Unix, though, the form controls keep their size, even if you adjust the default font size in Firefox preferences. This makes for ugly form controls if you do not adjust your GTK settings along with your Firefox default font size. But there is a workaround: you can also make Firefox scale the form controls by applying the following changes to 'font:' li...

Default Font Size for RTE?
SXMgdGhlcmUgYSB3YXkgdG8gc2V0IHRoZSBkZWZhdWx0IGZvbnQgc2l6ZSBmb3IgYW4gUlRFIGNv bnRyb2w/ICBJIGFtIGluc2VydGluZyBhIHRleHQgZG9jdW1lbnQgaW50byBhbiBSVEUgYW5kIEkg d291bGQgbGlrZSB0aGUgZm9udCBzaXplIGZvciBhbGwgb2YgdGhlIHRleHQgdG8gYmUgc2V0IGF0 IDExLiAgUmlnaHQgbm93IHRoZSBkZWZhdWx0IGlzIDEwLiAgSSBkb24ndCB3YW50IHRoZSB1c2Vy IHRvIGhhdmUgdG8gbWFrZSB0aGlzIGNoYW5nZSB0aGVtc2VsdmVzLiAgQW55IGhlbHAgd291bGQg YmUgYXBwcmVjaWF0ZWQuDQoNCi1qcA== ...

How to set font size and font style for a THotkey control?
Now I add a Thotkey control on a form.Yes.It is a very useful control to handle hotkey. But how I can set a bigger font and bold style for it. Regards. Jack Xiao > {quote:title=bing xiao wrote:}{quote} > Now I add a Thotkey control on a form.Yes.It is a very useful control to handle hotkey. > But how I can set a bigger font and bold style for it. The THotkey is simply a wrapper around the Windows HOTKEY control. It gets it's font size and style from the user's display settings, using one of the system values (see ComCtrls.pas, procedure TCustomHotKey.AdjustHeight f...

Font font = new Font
i am not sure if when i use   Font font = new Font("Free 3 of 9", 16); // Free 3 of 9 is a bar code Font   in my code if the end user does not have that font will it still reder corecly if i use it on a dinamicly generated grephic you know the code will allways work I supose you're trying to create an image with a barcode to print it and then read the barcode. Read this article. If your ASP.NET server has the font installed and you create an Image using that font, the client machine doesn't have to install it. I tried that some time ago, but the barcode...

Setting the default printing font size
Using the latest client when I adjust the font size in the "views" tab it does not change the printed font size of the message. The user has a plain text message I have set the view to be Arial 14, when printed it appears to be around Arial 8. Is there another spot to change the default printed text height? Justin Fisk Jfisk, It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply. Has your problem been resolved? If not, you might try one of the following options: - Do a se...

superreview granted: [Bug 181712] Menu item for "default font size" (also indicate current text/font zoom value/size?) : [Attachment 237374] r=smorgan patch
Mike Pinkerton <> has granted froodian <>'s request for superreview: Bug 181712: Menu item for "default font size" (also indicate current text/font zoom value/size?) Attachment 237374: r=smorgan patch ------- Additional Comments from Mike Pinkerton <> sr=pink. are we sure those getter_addrefs -> dont_addrefs are correct? ...

superreview requested: [Bug 181712] Menu item for "default font size" (also indicate current text/font zoom value/size?) : [Attachment 237374] r=smorgan patch
froodian <> has asked Mike Pinkerton <> for superreview: Bug 181712: Menu item for "default font size" (also indicate current text/font zoom value/size?) Attachment 237374: r=smorgan patch ------- Additional Comments from froodian <> Pink, this blocks all the menu cleanup work for 1.1, so a speedy sr would be most helpful for me. :) ...

superreview granted: [Bug 407415] NaNs in gfx*Font with font-size: 0 and font-size-adjust : [Attachment 293072] check for zero xHeight
Robert O'Callahan (:roc) <> has granted superreview: Bug 407415: NaNs in gfx*Font with font-size:0 and font-size-adjust Attachment 293072: check for zero xHeight ------- Additional Comments from Robert O'Callahan (:roc) <> Should you also check that emHeight is nonzero in gfxWindowsFonts to ensure we don't divide by zero on it? I guess it should be equal to the requested font size which should be nonzero...

Name: Thomas Email: Miller Product: Other (please state) Summary: Thunderbird - Setting font size (default) on email messages written Comments: After installing the latest Thunderbird product I cannot reset the font size to a default setting. Upon opening the program the font size always returns to what I would describe as small display type. I have changed nothing else on my computer so I would assume the version update is the culprit. Thanks for any patch (repair) or other suggestions that you might have. Tom Miller Browser Details: Mozilla/5.0 (Windows; U; Windows ...

Can I Set Default Font Size in Incoming E-Mail i.e permanently
The font size in incoming email varies from huge to unreadable small. Is there a way to make ALL incoming email fonts to be what I can read ? I use Ctrl + or Ctrl mouse wheel to enlarge the small stuff, but it would be nice if ALL incoming mail displayed the same larger default size for us older, half blind fuddie duddies.... DoctorBill Le 23 juillet 2009, DoctorBill a écrit : > Is there a way to make ALL incoming email fonts to be what I can read ? Here (SM 1.1.16) it seems that Edit > Preferences > Appearance > Fonts > Minimum font size does the ...

Restoring Default Fonts/Fonts for Websites
Hello & Help :-) I messed around with the fonts for the webpages and I want to set them back but there's no 'default' option and I can't remember what they were originally. I even uninstalled and re-installed it and it still shows my changes. IS there a default option? If not, can someone post what the defaults are. It's under Tools, Options, Content Tab, Under Fonts & Colors, go to Advanced. Those are the fonts I need the info for. I have bad eyes and I simply cannot read the webpages at all so if anyone has any ideas on what font and size to use...

Default fonts or Preset font for all labels
Hi, How do i make the fonts all the same for every label i drag and drop? I.e., I want to use Verdana font for all the new labels without manually going into all the webforms and clicking on them and setting their properties. I want to know how to preset it so that it defaults to a certain font. Thanks! hmmm good one... I will be interested to know as well.Sunny NAGIProper Preparation Prevents Poor PerformanceDont forget to click "Mark as Answer" on the post that helped you. Place one label on your form go to the properties and set up the font size name etc. then on t...

Web resources about - How to set the default font size, font face in RTE? - sybase.powerscript

Default logic - Wikipedia, the free encyclopedia
Default logic is a non-monotonic logic proposed by Raymond Reiter to formalize reasoning with default assumptions. Default logic can express ...

Privacy Setting For New Facebook Users Aged 13-17 Now Defaults To ‘Friends’
Facebook is changing the initial default privacy setting for users aged 13 through 17 to friends, from friends of friends, but those teen users ...

Secure browsing by default
We now use https by default for all Facebook users. This feature, which we first introduced as an option two years ago , means that your browser ...

北方理財團隊的家園:外汇交易员芬芳fenfang恭候您! - 芬芳FENFANG - 和讯博客
北方理財團隊的家園:外汇交易员芬芳fenfang恭候您! - 芬芳FENFANG - 芬芳FENFANG的博客 - 和讯博客

Facebook changes default privacy settings for new users to friends-only
Facebook announced today a shift in privacy settings for new users. Now, when someone signs up for a profile, their default posting status is ...

Google AdSense Ads Scrolling Now Default? - Flickr - Photo Sharing!
More at

Sen. Rand Paul on Debt Default - YouTube
Sen. Rand Paul on Debt Default - YouTube

Local bourse will suffer if US defaults
The picture is a worrying one for Australian investors if the impasse with the US debt ceiling is not resolved by the Thursday deadline.

If VW defaults on loans it may sell Bentley or Lamborghini
Filed under: Earnings/Financials , Green , Bentley , Lamborghini , Volkswagen , Emissions , Diesel If VW can't pay back its $21 billion in loans ...

Resources last updated: 12/22/2015 2:49:35 PM