Re: Minoterm scaling issue

"Ethan Azariah" <[email protected]> Thu, 25 Sep 2025 12:19:09 +0100
Newsgroups gmane.comp.lang.forth.gforth
Message-ID <[email protected]>
On Thu, Sep 25, 2025, at 8:46 AM, Bernd Paysan wrote:
> Am Mittwoch, 24. September 2025, 20:59:13 Mitteleurop=C3=A4ische Somme=
rzeit schrieb=20
> Ethan Azariah:
>> I've just got a tablet running LineageOS 14.1, Android 7.1.2. Minoter=
m is
>> scaled as if it were a phone; unreasonably large on the 10" screen, In
>> portrait mode it has 47 columns, in landscape 65 columns, too few for=
 a
>> block editor with line numbers.
>>=20
>> What could I change to scale it differently?
>>=20
>> Can I get the native pixel size of the display within gforth?
>
> Yes, Gforth does that. Use
>
> screen-diag f.
>
> to get the screen diagonal size in mm.  I guess your Android simply li=
es to=20
> you, which results in wrong scaling.

Ah, yeah, it reports the size as 96mm when it's about 9.6 inches.

>  You can then set the FValue DEFAULT-
> SCALE to something else than 1. E.g.
>
> 0.5e to default-scale terminal-scale-me
>
> will give you twice as many columns and rows.

That's easy to use, I'm really happy with it. Thanks!

> --=20
> Bernd Paysan
> "If you want it done right, you have to do it yourself"
> net2o id: kQusJzA;7*?t=3Duy@X}1GWr!+0qqp_Cn176t4(dQ*
> https://net2o.de/
>
> Attachments:
> * signature.asc