New HMG COMMAND: GET FONT TO

Creative ideas/suggestions for HMG

Moderator: Rathinagiri

Post Reply
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

New HMG COMMAND: GET FONT TO

Post by Pablo César »

Hi HMG Development Team and others colleagues,

I found SET FONT TO very useful command to standardize FONT name and size in all controls that taking default one.

And when we change this default FONT, I would like to have it:

#xcommand GET FONT TO <aFont> ;
      => ;
      <aFont> := \{ _HMG_SYSDATA \[ 342 \] , _HMG_SYSDATA \[ 343 \] \}


This command would it be useful to return the previous FONT configuration, as follows:

Code: Select all

GET FONT TO aFont
SET FONT TO 'Courier', 10

... (returning after displaying then FONT coming back with the previous configuration)

SET FONT TO aFont[1], aFont[2]
Is it feasible to have it at HMG? Would it be of common interest to all ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: New HMG COMMAND: GET FONT TO

Post by Rathinagiri »

Sure. Nice suggestion Pablo. IMHO, even for the default font, the default fontname and size shall be returned.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: New HMG COMMAND: GET FONT TO

Post by bpd2000 »

Rathinagiri wrote: Fri Mar 10, 2017 3:20 am Sure. Nice suggestion Pablo. IMHO, even for the default font, the default fontname and size shall be returned.
+1
BPD
Convert Dream into Reality through HMG
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

New HMG COMMAND: GET FONT TO

Post by Pablo César »

Thank you guys for your interest. :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply