Search found 186 matches: find font size

Searched query: find font size

ignored: find

by Aacini
01 Sep 2024 22:18
Forum: DOS Batch Forum
Topic: printf.exe: Arithmetic and Programming
Replies: 31
Views: 171668

Re: printf.exe: Arithmetic and Programming

... version 2.80 with these new features: CURS3..CURS9 change cursor size function added. SYSTEM function to execute cmd.exe commands added. CASE ... to show text messages. The printf.exe LABEL implementation is based on Font Definition Files that you can easily create in order to define your ...
by shodan
01 Jun 2024 03:37
Forum: DOS Batch Forum
Topic: Difficulty getting font dimensions with powershell
Replies: 0
Views: 49623

Difficulty getting font dimensions with powershell

... made these simple batch functions, that obtain font size, font width and font height using a powershell/C# hybrid ... getting small discrepancies in the values and I cannot find the bug ? Here is the result and what it should have ...
by penpen
24 Mar 2024 02:46
Forum: DOS Batch Forum
Topic: Cmdwiz - 54 operation cmd helper tool (now with Unicode)
Replies: 65
Views: 223671

Re: Cmdwiz - 54 operation cmd helper tool (now with Unicode)

... the lines and columns of the console screen buffer and then tries to resize the console window to display as much as possible. I'm not familiar ... of 27 (but possible, for example when you are using an unusual big font height). Another possibility is that your laptop is using a TrueType ...
by einstein1969
25 Oct 2023 02:30
Forum: DOS Batch Forum
Topic: Another amazing porting...
Replies: 14
Views: 104860

Another amazing porting...

... I have to thank aGerman and others because they allowed me to set the fonts. If you have any suggestions let me know. I also have a version in ... :init_setfont :: - BRIEF - :: Get or set the console font size and font name. :: - SYNTAX - :: %setfont% [fontSize [fontName]] :: fontSize ...
by aGerman
06 Aug 2023 14:04
Forum: DOS Batch Forum
Topic: Add A Second Question to a Window?
Replies: 1
Views: 8012

Re: Add A Second Question to a Window?

... %=% $form.Add_Shown({ $form.Activate(); });^ %=% $form.ClientSize='300,180';^ %=% $form.FormBorderStyle='FixedSingle';^ %=% try { $form.Icon=Invoke-Expression ... %= REM Input label appearance and behavior. =% ^ %=% $inbox_label.Font='Microsoft Sans Serif,8';^ %=% $inbox_label.Location='20,10';^ ...
by T3RRY
20 Apr 2023 21:34
Forum: DOS Batch Forum
Topic: Stacker, A batch interpretation of the game.
Replies: 8
Views: 7977

Stacker, A batch interpretation of the game.

... in ('Echo(prompt $E^| cmd')Do Set \E=%%a Set "fontsize=" CD /D "%~dp0" :LoadDefaults (For /F "UsebackQ delims=" ... + (MaxX-1)"" REM Initial Delay Interval. REM If you find this game runs too fast at Difficulty 1, increase the ...
by atfon
15 Dec 2022 13:58
Forum: DOS Batch Forum
Topic: Increasing text size in a batch file
Replies: 7
Views: 19118

Re: Increasing text size in a batch file

Once again, see this post for how to set the font size and name in the Console: https://www.dostips.com/forum/viewtopic.php?t=10156 There are multiple ...
by arjunae
15 Dec 2022 13:23
Forum: DOS Batch Forum
Topic: Increasing text size in a batch file
Replies: 7
Views: 19118

Re: Increasing text size in a batch file

Edit As far as i know theres no dos api for directly applying changed registry Font settings. tinyton is just a profile name for start to use for the interpreter. a static solution would be start "profile" cmd /c batch which is what i used but as atfon posting ...
by aGerman
29 Oct 2022 09:19
Forum: DOS Batch Forum
Topic: [How-To] Get information about the conhost window, update its mode settings (PowerShell hybrid)
Replies: 0
Views: 46232

[How-To] Get information about the conhost window, update its mode settings (PowerShell hybrid)

... monitor boundaries: %cml%, %cmt%, %cmr%, %cmb% echo console window size: %cwx%, %cwy% echo console viewport size: %cvx%, %cvy% echo console font size: %cfx%, %cfy% echo console charcell size: %chx%, %chy% echo console current size: ...
by einstein1969
23 Oct 2022 11:26
Forum: DOS Batch Forum
Topic: infinite loop with break condition
Replies: 75
Views: 187909

Re: infinite loop with break condition

... the loop including the "set /P" and file size readings were the cause of the slowdown (non-linear). ... :end_opt 2>&1 (>"%outFile%" type nul)|>nul find /v ""&&(call :help "Error: Unabe to write to ... ( echo(4 0 obj echo(^<^< echo(/Type /Font echo(/Subtype /Type1 echo(/Name /F1 echo(/BaseFont ...
by einstein1969
23 Oct 2022 02:50
Forum: DOS Batch Forum
Topic: infinite loop with break condition
Replies: 75
Views: 187909

Re: infinite loop with break condition

... set /a "%A4%, tabWidth=8, fontSize=10, landscape=0, objects=5, pages=0" :opt_loop ... :end_opt 2>&1 (>"%outFile%" type nul)|>nul find /v ""&&(call :help "Error: Unabe to write to ... ( echo(4 0 obj echo(^<^< echo(/Type /Font echo(/Subtype /Type1 echo(/Name /F1 echo(/BaseFont ...
by einstein1969
18 Oct 2022 06:18
Forum: DOS Batch Forum
Topic: Dos Batch Math Library
Replies: 73
Views: 176949

Re: Dos Batch Math Library

... :init_fade %fade% 0 10 100 1 call :init_setfont %setfont% 8 Terminal mode con cols=82 lines=50 ... %===% if ([IntPtr]::Size -eq 4) { %= Win x86 =%^ %=====% $w::SetWindowLong($wnd, ... "%~1=" For /F "Tokens=1,3 Delims=>|:" %%a in ('Findstr /N /B "</*Function=%~1" "%Game%"') Do ( ...
by einstein1969
14 Oct 2022 05:09
Forum: DOS Batch Forum
Topic: Complete control of cmd windows
Replies: 88
Views: 106343

Re: Complete control of cmd windows

... cols=!nx! lines=!ny! ) call :init_fade %fade% 0 10 100 1 call :init_setfont %setfont% 8 Terminal mode con cols=82 lines=50 call :GetInfo call :AndCenter ... %===% $wnd=$w::GetConsoleWindow();^ %===% if ([IntPtr]::Size -eq 4) { %= Win x86 =%^ %=====% $w::SetWindowLong($wnd, $GWL_EXSTYLE, ...
by einstein1969
13 Oct 2022 11:22
Forum: DOS Batch Forum
Topic: Complete control of cmd windows
Replies: 88
Views: 106343

Re: Complete control of cmd windows

... for %%L in (50 100) do %transparent% %%L call :init_setfont %setfont% 8 Terminal mode con cols=82 lines=50 call :GetInfo call :AndCenter ... %===% $wnd=$w::GetConsoleWindow();^ %===% if ([IntPtr]::Size -eq 4) { %= Win x86 =%^ %=====% $w::SetWindowLong($wnd, $GWL_EXSTYLE, ...
by aGerman
12 Oct 2022 12:54
Forum: DOS Batch Forum
Topic: Complete control of cmd windows
Replies: 88
Views: 106343

Re: Complete control of cmd windows

... thoughts (without actually trying): - you may fail to get the correct size properties from a minimized window - you will most likely fail to resize ... shown again - however, you will likely succeed changing the font and mode flags even if the window is minimized