English
Source / code snippets

Show Print out Symbolfonts

 
Horst horn, URL=www.paules-pc-forum.de/forum/XProfan/125133-symbolfonts-Show-and-print out.html#mail762513, Zeitpunkt=27.01.2010
Since I often The Symbolschriften need (Buttons) and to the switch with Charset always testing had, which Button for which symbol zuständig is, Have I me small Help written. The display is too druckbar.
CompileMarkSeparation
SET("DECIMALS",0)
DECLARE spalte%,zeile%,steig%,I%,breit%,hoch%,EE%
spalte%=10:zeile%=15:I%=49:EE%=0
DECLARE aktivfont$
breit%=800 von dieser Auflösung nach oben sollte es klappen
hoch%=600
breit%=%MaxX
hoch%=%MaxY
DECLARE gross%
gross%=(breit%/100*3)
steig%=(breit%/100*5)
----------------------------------------------------------------
WindowStyle 16
Window 0,0 - breit%,hoch%
WindowTitle "..mit der Taste F5 drucken"
aktivfont$ = "WEBDINGS" wahlweise aktivieren
aktivfont$ = "WINGDINGS"
aktivfont$ = "SYMBOL"

WHILENOT I% = 256

    Set("Charset", 2)
    USEFONT aktivfont$,gross%,0,1,0,0
    TEXTCOLOR RGB(0,0,0),-1
    DrawText spalte%,zeile%,CHR$(I%)
    Set("Charset", -1)
    TEXTCOLOR RGB(150,0,0),-1
    USEFONT "COURIER NEW",16,0,1,0,0
    DrawText (spalte%+5),(zeile%+(gross%-2)),CHR$(i%)
    INC I%
    spalte%=(spalte%+steig%)

    IF spalte% > (breit%-(gross%*2))

        spalte%=10
        zeile%=(zeile%+(steig%+5))

    ENDIF

ENDWHILE

WHILENOT EE%

    WAITINPUT

    IF IsKey(27)

        Set("Charset", -1)
        EE%=1

    ENDIF

    IF Iskey(116) Taste F5

        spalte%=10:zeile%=15:I%=49
        breit%=640:hoch%=960 XProfan-DINA-4-Seite
        gross%=(breit%/100*3)
        steig%=(breit%/100*5)
        STARTPRINT

        WHILENOT I% = 256

            Set("Charset", 2)
            USEFONT aktivfont$,gross%,0,1,0,0
            TEXTCOLOR RGB(0,0,0),-1
            DrawText spalte%,zeile%,CHR$(I%)
            Set("Charset", -1)
            TEXTCOLOR RGB(150,0,0),-1
            USEFONT "COURIER NEW",16,0,1,0,0
            DrawText (spalte%+5),(zeile%+(gross%-2)),CHR$(i%)
            INC I%
            spalte%=(spalte%+steig%)

            IF spalte% > (breit%-(gross%*2))

                spalte%=10
                zeile%=(zeile%+(steig%+5))

            ENDIF

        ENDWHILE

        ENDPRINT

    ENDIF

END

Who need can, here you are...

1.022 kB
Hochgeladen:01/30/10
Downloadcounter105
Download
 
01/30/10  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.062 Views

Untitledvor 0 min.
H.Brill10/15/23
kustg05/14/19
rquindt02/25/17
Julian Schmidt06/12/11
More...

Themeninformationen

this Topic has 1 subscriber:

iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie