Jump to content
blackosx

Create font files for Bootloader GUI's

124 posts in this topic

Recommended Posts

Sorry to bring up again this thread, but is it possible to integrate the following german letters (so called "UMLAUTE"):

 

ä ; ö ; ü ; Ä ; Ö ; Ü ; ß

 

would be great, so we don't get missing letters in the german help text of CLOVER  ;-)

Don't know if i could do this myself by just placing them at this point within the script:

# Apply any user leading to textHeight
    textHeight=$(( $textHeight + $leading )) # This adds the leading above the final chars for each row
   
    chars=('.' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' '!' '\"' '#' '$' '%' '&' '’' '(' ')' '*' '+' ',' '-' '.' '/'\
           '0' '1' '2' '3' '4' '5' '6' '7' '8' '9' ':' ';' '<' '=' '>' '?'\
           '@' 'A' 'B' 'C' 'D' 'E' 'F' 'G' 'H' 'I' 'J' 'K' 'L' 'M' 'N' 'O'\
           'P' 'Q' 'R' 'S' 'T' 'U' 'V' 'W' 'X' 'Y' 'Z' '[' '\\\' ']' '^' '_'\
           '’' 'a' 'b' 'c' 'd' 'e' 'f' 'g' 'h' 'i' 'j' 'k' 'l' 'm' 'n' 'o'\
           'p' 'q' 'r' 's' 't' 'u' 'v' 'w' 'x' 'y' 'z' '{' '|' '}' '~' ' '\
           )
           
    if [ $gIncludeAnsi -eq 1 ]; then
        chars+=('€' ' ' '‚' 'ƒ' '„' '…' '†' '‡' 'ˆ' '‰' 'Š' '‹' 'Œ' ' ' 'Ž' ' '\
           ' ' '‘' '’' '“' '”' '•' '–' '—' '˜' '™' 'š' '›' 'œ' ' ' 'ž' 'Ÿ'\
           ' ' '¡' '¢' '£' '¤' '¥' '¦' '§' '¨' '©' 'ª' '«' '¬' ' ' '®' '¯'\
           '°' '±' '²' '³' '´' 'µ' '¶' '·' '¸' '¹' 'º' '»' '¼' '½' '¾' '¿'\
           )
    else
        chars+=(' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           )
    fi
    
    if [ $gIncludeCyrillic -eq 1 ]; then
        chars+=('А' 'Б' 'В' 'Г' 'Д' 'Е' 'Ж' 'З' 'И' 'Й' 'К' 'Л' 'М' 'Н' 'О' 'П'\
           'Р' 'С' 'Т' 'У' 'Ф' 'Х' 'Ц' 'Ч' 'Ш' 'Щ' 'Ъ' 'Ы' 'Ь' 'Э' 'Ю' 'Я'\
           'а' 'б' 'в' 'г' 'д' 'е' 'ж' 'з' 'и' 'й' 'к' 'л' 'м' 'н' 'о' 'п'\
           'р' 'с' 'т' 'у' 'ф' 'х' 'ц' 'ч' 'ш' 'щ' 'ъ' 'ы' 'ь' 'э' 'ю' 'я'\
           )
    else
        chars+=(' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           )
    fi
    
    printf "Scanning font character metrics\n"
    printf "===============================\n"

or if they have to be in a special place following some kind of ascii-table or something like this.

 

For my poor understanding, after editing it has to look something similar like this:

    # Set all characters to be used (Includes ANSI and cyrillic characters).
    completeSetOfChars="!\"#$&’()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\]^_’abcdefghijklmnopqrstuvwxyz{|}~ € ‚ƒ„…†‡ˆ‰Š‹Œ Ž  ‘’“”•–—˜™š›œ žŸ ¡¢£¤¥¦§¨©ª«¬ ®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"
    # Read the bounds font metric of the entire string to get height
    metricsOfString=$(GetMetrics "$completeSetOfChars")
    getValues=$(GetTextHeight "$metricsOfString")
    textHeight="${getValues%:*}"
    textBaseline="${getValues#*:}"
    
    # Apply any user leading to textHeight
    textHeight=$(( $textHeight + $leading )) # This adds the leading above the final chars for each row
   
    chars=('.' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' '!' '\"' '#' '$' '%' '&' '’' '(' ')' '*' '+' ',' '-' '.' '/'\
           '0' '1' '2' '3' '4' '5' '6' '7' '8' '9' ':' ';' '<' '=' '>' '?'\
           '@' 'A' 'B' 'C' 'D' 'E' 'F' 'G' 'H' 'I' 'J' 'K' 'L' 'M' 'N' 'O'\
           'P' 'Q' 'R' 'S' 'T' 'U' 'V' 'W' 'X' 'Y' 'Z' '[' '\\\' ']' '^' '_'\
           '’' 'a' 'b' 'c' 'd' 'e' 'f' 'g' 'h' 'i' 'j' 'k' 'l' 'm' 'n' 'o'\
           'p' 'q' 'r' 's' 't' 'u' 'v' 'w' 'x' 'y' 'z' '{' '|' '}' '~' ' '\
           )
           
    if [ $gIncludeAnsi -eq 1 ]; then
        chars+=('€' ' ' '‚' 'ƒ' '„' '…' '†' '‡' 'ˆ' '‰' 'Š' '‹' 'Œ' ' ' 'Ž' ' '\
           ' ' '‘' '’' '“' '”' '•' '–' '—' '˜' '™' 'š' '›' 'œ' ' ' 'ž' 'Ÿ'\
           ' ' '¡' '¢' '£' '¤' '¥' '¦' '§' '¨' '©' 'ª' '«' '¬' ' ' '®' '¯'\
           '°' '±' '²' '³' '´' 'µ' '¶' '·' '¸' '¹' 'º' '»' '¼' '½' '¾' '¿'\
           'À' 'Á' 'Â' 'Ã' 'Ä' 'Å' 'Æ' 'Ç' 'È' 'É' 'Ê' 'Ë' 'Ì' 'Í' 'Î' 'Ï'\
           'Ð' 'Ñ' 'Ò' 'Ó' 'Ô' 'Õ' 'Ö' '×' 'Ø' 'Ù' 'Ú' 'Û' 'Ü' 'Ý' 'Þ' 'ß'\
           'à' 'á' 'â' 'ã' 'ä' 'å' 'æ' 'ç' 'è' 'é' 'ê' 'ë' 'ì' 'í' 'î' 'ï'\
           'ð' 'ñ' 'ò' 'ó' 'ô' 'õ' 'ö' '÷' 'ø' 'ù' 'ú' 'û' 'ü' 'ý' 'þ' 'ÿ'\
           )
    else
        chars+=(' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           )
    fi
    
    if [ $gIncludeCyrillic -eq 1 ]; then
        chars+=('А' 'Б' 'В' 'Г' 'Д' 'Е' 'Ж' 'З' 'И' 'Й' 'К' 'Л' 'М' 'Н' 'О' 'П'\
           'Р' 'С' 'Т' 'У' 'Ф' 'Х' 'Ц' 'Ч' 'Ш' 'Щ' 'Ъ' 'Ы' 'Ь' 'Э' 'Ю' 'Я'\
           'а' 'б' 'в' 'г' 'д' 'е' 'ж' 'з' 'и' 'й' 'к' 'л' 'м' 'н' 'о' 'п'\
           'р' 'с' 'т' 'у' 'ф' 'х' 'ц' 'ч' 'ш' 'щ' 'ъ' 'ы' 'ь' 'э' 'ю' 'я'\
           )
    else
        chars+=(' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           )
    fi
    
    printf "Scanning font character metrics\n"
    printf "===============================\n"

So it will include all ascii and ansi letters. Keep me corrected if i am wrong (i am NO coder).

 

Any help appreciated...

Regards,

 

Mork vom Ork

 

 

EDIT #1: just tested. To make it work, you have to also change this part:

    # Calculate canvas size
    canvasWidth=$(( $charWidth * 16 ))
    canvasHeight=$(( $textHeight * 16 ))
    echo "Canvas size will be ${canvasWidth}x${canvasHeight} using cell size ${charWidth}x${textHeight}"

into this:

    # Calculate canvas size
    canvasWidth=$(( $charWidth * 16 ))
    canvasHeight=$(( $textHeight * 20 )) // add the value of new lines you inserted above to the original 16
    echo "Canvas size will be ${canvasWidth}x${canvasHeight} using cell size ${charWidth}x${textHeight}"

and this part:

    # Build a 16x16 character grid.
    charCount=0
    for (( y=0; y<16; y++ ))

into this:

    # Build a 16x16 character grid.
    charCount=0
    for (( y=0; y<20; y++ ))

cause we added 4 more lines of characters. Image will be calculated correctly. Newly Calculated image will now look like this (i run the script with the option '-rc'):

 

post-598588-0-10432000-1461544792_thumb.png

 

EDIT #2: something must be wrong anyway, cause as you can see, the following characters are still not present in the image: ä, ö, ü and ß (maybe some more, which i just not recognized, cause i won't miss them)

 

EDIT #3: my above code correction seems to work, cause with font "/Library/Fonts/Tahoma.ttf" the resulting picture from the script is ok:

 

post-598588-0-96922800-1461555009_thumb.png

 

so it must be a corrupted CHICAGO font, which i copied from an old "Mac OS 9.2.2" systemfolder. Will try that again later... got to work now.

 

 

Oh, before i forget: a big thanx to the contributor "blackosx" for his wonderful script (createFont_v86), which makes fontcreation a lot easier. Hope, you don't mind, that i just extended your script for my personal use and find it may be usefull for others, too.

Share this post


Link to post
Share on other sites
Advertisement

As far as I see unicode characters 0xA0 - 0xFF will be drawn correctly. So no Clover change needed. But check this text, may be you know what to change here

      case german:
        AddMenuInfoLine(&HelpMenu, L"ESC - Zurueck aus Untermenue, Hauptmenue erneuern");
        AddMenuInfoLine(&HelpMenu, L"F1  - Diese Hilfe");
        AddMenuInfoLine(&HelpMenu, L"F2  - Sichere preboot.log (nur mit FAT32)");
        AddMenuInfoLine(&HelpMenu, L"F3  - Show hidden entries");
        AddMenuInfoLine(&HelpMenu, L"F4  - Sichere OEM DSDT in EFI/CLOVER/ACPI/origin/ (nur mit FAT32)");
        AddMenuInfoLine(&HelpMenu, L"F5  - Sichere gepatchtes DSDT in EFI/CLOVER/ACPI/origin/ (FAT32)");
        AddMenuInfoLine(&HelpMenu, L"F6  - Sichere VideoBios in EFI/CLOVER/misc/ (FAT32)");
        AddMenuInfoLine(&HelpMenu, L"F10 - Sichere Bildschirmfoto in EFI/CLOVER/misc/ (nur mit FAT32)");
        AddMenuInfoLine(&HelpMenu, L"F12 - Volume auswerfen (DVD)");
        AddMenuInfoLine(&HelpMenu, L"Leertaste - Details über den gewählten Menue Eintrag");
        AddMenuInfoLine(&HelpMenu, L"Zahlen 1-9 - Kurzwahl zum Menue Eintrag");
        AddMenuInfoLine(&HelpMenu, L"A - Menue Informationen");
        AddMenuInfoLine(&HelpMenu, L"O - Menue Optionen");
        AddMenuInfoLine(&HelpMenu, L"R - Neustart");
        AddMenuInfoLine(&HelpMenu, L"U - Ausschalten");
        break;		

Share this post


Link to post
Share on other sites

 

As far as I see unicode characters 0xA0 - 0xFF will be drawn correctly. So no Clover change needed. But check this text, may be you know what to change here

      case german:
        AddMenuInfoLine(&HelpMenu, L"ESC - Zurück aus Untermenü, Hauptmenü erneuern");
        AddMenuInfoLine(&HelpMenu, L"F1  - Diese Hilfe");
        AddMenuInfoLine(&HelpMenu, L"F2  - Sichere preboot.log (nur mit FAT32)");
        AddMenuInfoLine(&HelpMenu, L"F3  - Zeige versteckte Einträge");
        AddMenuInfoLine(&HelpMenu, L"F4  - Sichere OEM DSDT in EFI/CLOVER/ACPI/origin/ (nur mit FAT32)");
        AddMenuInfoLine(&HelpMenu, L"F5  - Sichere gepatchtes DSDT in EFI/CLOVER/ACPI/origin/ (FAT32)");
        AddMenuInfoLine(&HelpMenu, L"F6  - Sichere VideoBios in EFI/CLOVER/misc/ (FAT32)");
        AddMenuInfoLine(&HelpMenu, L"F10 - Sichere Bildschirmfoto in EFI/CLOVER/misc/ (nur mit FAT32)");
        AddMenuInfoLine(&HelpMenu, L"F12 - Volume auswerfen (DVD)");
        AddMenuInfoLine(&HelpMenu, L"Leertaste - Details über den gewählten Menü Eintrag");
        AddMenuInfoLine(&HelpMenu, L"Zahlen 1-9 - Kurzwahl zum Menü Eintrag");
        AddMenuInfoLine(&HelpMenu, L"A - Menü Informationen");
        AddMenuInfoLine(&HelpMenu, L"O - Menü Optionen");
        AddMenuInfoLine(&HelpMenu, L"R - Neustart");
        AddMenuInfoLine(&HelpMenu, L"U - Ausschalten");
        break;		

checked and edited. But maybe not a good idea to change as soon as possible... cause all the known themes are using old font.png (w/o the new ANSI letters). So if u will change right now w/o updating all the font images, u will miss the signs not included in old fonts.png's. So first update the font.png's in the themes included in clover installer, than make the changes to the translated texts.

 

Keep this in mind...

Share this post


Link to post
Share on other sites

Hi blackosx,

is it possible four new chars will be included in the image?

    chars=('.' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' '◎' '◉' '☐' '☑' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' '!' '\"' '#' '$' '%' '&' '’' '(' ')' '*' '+' ',' '-' '.' '/'\
           '0' '1' '2' '3' '4' '5' '6' '7' '8' '9' ':' ';' '<' '=' '>' '?'\
           '@' 'A' 'B' 'C' 'D' 'E' 'F' 'G' 'H' 'I' 'J' 'K' 'L' 'M' 'N' 'O'\

Share this post


Link to post
Share on other sites

 

 

 

Supremeui-Mac-Pro:createFont_v0.86 Supreme$ ./createFont.sh -t2 -s20 -l -2 -f/Users/Supreme/Downloads/createFont_v0.86/Cambria.ttf -b150,150,150 -c 20,20,20 -ra 

Scanning font character metrics

===============================

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

...............................................................................................printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.................................................................

Widest Char is at index 87 | W at 19 pixels

Canvas size will be 336x368 using cell size 21x23

Building ImageMagick code sequence

Running ImageMagick to create image

convert: no images defined `/Users/Supreme/Downloads/createFont_v0.86/type2_Cambria_20pt_Cell_21x23_l-2_ra.png' @ error/convert.c/ConvertImageCommand/3257.

Supremeui-Mac-Pro:createFont_v0.86 Supreme$ 

 

 

 

i can't convert everything fonts.

i followed your instruction in main page.

but i have no lucky.

 

thanks

Share this post


Link to post
Share on other sites

 

 

 

 

 

i can't convert everything fonts.

i followed your instruction in main page.

but i have no lucky.

 

thanks

This is a problem of wrong ImageMagick. If you install good one the error will disappear.

Share this post


Link to post
Share on other sites

This is a problem of wrong ImageMagick. If you install good one the error will disappear.

 

i tried to install ImageMagicK throughout MacPort and Homebrew.

 

very strange. my system already recognized installed ImageMagicK. still not success. 

 

 

 

Supreme-MacBook-Air:createFont_v0.86 Supreme$ sudo port install ImageMagick

Warning: The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build.

Warning: Install them by running `xcode-select --install'.

--->  Computing dependencies for ImageMagick

--->  Fetching archive for ImageMagick

--->  Attempting to fetch ImageMagick-6.9.5-8_0+x11.darwin_15.x86_64.tbz2 from https://packages.macports.org/ImageMagick

--->  Attempting to fetch ImageMagick-6.9.5-8_0+x11.darwin_15.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/ImageMagick

--->  Attempting to fetch ImageMagick-6.9.5-8_0+x11.darwin_15.x86_64.tbz2 from http://nou.nc.packages.macports.org/pub/macports/packages.macports.org/ImageMagick

--->  Fetching distfiles for ImageMagick

--->  Verifying checksums for ImageMagick

--->  Extracting ImageMagick

--->  Configuring ImageMagick

--->  Building ImageMagick

--->  Staging ImageMagick into destroot

--->  Installing ImageMagick @6.9.5-8_0+x11

--->  Activating ImageMagick @6.9.5-8_0+x11

--->  Cleaning ImageMagick

--->  Updating database of binaries

--->  Scanning binaries for linking errors

--->  No broken files found.

Supreme-MacBook-Air:createFont_v0.86 Supreme$ ./createFont.sh -t2 -f/Users/Supreme/Desktop/malgun.ttf -s12

Scanning font character metrics

===============================

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

...............................................................................................printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

..printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

............printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

..printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.............printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

...printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

.............printf: : expected numeric value

printf: : expected numeric value

printf: : expected numeric value

...................................................................................

Widest Char is at index 137 | ‰ at 15 pixels

Canvas size will be 272x288 using cell size 17x18

Building ImageMagick code sequence

Running ImageMagick to create image

convert: no images defined `/Users/Supreme/Downloads/createFont_v0.86/type2_malgun_12pt_Cell_17x18_l0.png' @ error/convert.c/ConvertImageCommand/3257.

 

 

 

thanks in advance

Share this post


Link to post
Share on other sites

Hi Sherlocks

 

What result do you get with the following command?

convert -debug annotate xc: -font /Users/Supreme/Desktop/malgun.ttf -pointsize 12 -annotate 0 X null:

 

Hi blackosx,

is it possible four new chars will be included in the image?

    chars=('.' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' '◎' '◉' '☐' '☑' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '\
           ' ' '!' '\"' '#' '$' '%' '&' '’' '(' ')' '*' '+' ',' '-' '.' '/'\
           '0' '1' '2' '3' '4' '5' '6' '7' '8' '9' ':' ';' '<' '=' '>' '?'\
           '@' 'A' 'B' 'C' 'D' 'E' 'F' 'G' 'H' 'I' 'J' 'K' 'L' 'M' 'N' 'O'\

Hi Slice

 

Are you still needing this or have you done it in Clover?


Sorry to bring up again this thread, but is it possible to integrate the following german letters (so called "UMLAUTE"):

 

ä ; ö ; ü ; Ä ; Ö ; Ü ; ß

 

Hi Mork vom Ork

 

Good job adjusting the script to suit your needs.

Does this need implementing for all font files?

Share this post


Link to post
Share on other sites
Hi Mork vom Ork

 

Good job adjusting the script to suit your needs.

Does this need implementing for all font files?

Dear BlackOSX,

 

no, it is no longer needed. was just a try, when i was paying around with my theme. would be too much to implement in every right now available theme. if one needs it, he/she/they could check my post on what to do to get it implemented  ;-)

But thx 4 asking...

Share this post


Link to post
Share on other sites

 

Hi Slice

 

Are you still needing this or have you done it in Clover?

 

Hi blackosx,

glad to see you.

 

I can live without these characters as I made embedded graphics for this.

They could be usefull in TextOnly mode if someone want it.

Share this post


Link to post
Share on other sites

I've uploaded v0.87 of the script to the first post which adds the extra radio button and checkbox glyphs in the font matrix and also added a fix which I hope will resolve the issue Sherlocks is having.

 

Note: The radio button and checkbox glyphs need to be in the font used otherwise they won't show.

Share this post


Link to post
Share on other sites

Hey blackosx, did you forget to apply your "xc" patch to "-t1" (BuildType1() / Chameleon), or this type already deprecated?

./createFont.sh -t1 -s14 -fFont.otf -b 255,255,255 -c 0,0,0 -r c -r a

Running ImageMagick to create image
convert: no images defined `.../createFont_v0.87/type1_Font_14pt.png' @ error/convert.c/ConvertImageCommand/3253.
charWidth=5
Running ImageMagick to splice type 1 image
convert: unable to open image '.../createFont_v0.87/type1_Font_14pt.png': No such file or directory @ error/blob.c/OpenBlob/2695.
convert: unable to open file `.../createFont_v0.87/type1_Font_14pt.png' @ error/png.c/ReadPNGImage/3983.
convert: no images defined `.../createFont_v0.87/type1_Font_14pt.png' @ error/convert.c/ConvertImageCommand/3253.

Also, label:\"${spaces}\ no longer needed in my case.

Share this post


Link to post
Share on other sites

Hey cecekpawon.

AFAIK, type 1 is alive and well and not deprecated. I just forgot to add 'xc' to it  :P

And thanks for the note about 'label:' no longer being required. I never knew why it was needed in the first place anyhow lol.

I'll run some tests and post a revised version when I get a chance.

 

EDIT: I've updated the script to v0.88 to include the xc fix for type 1 fonts.

Edited by blackosx

Share this post


Link to post
Share on other sites

Hi guys! 

Thanks for all your work, the script and the proportional option are awesome!!!

Btw I've noticed that the proportional option does work well on every part of clover, but not under options, where it seems to have no effect...

Here a screenshot:

menu is ok, about is ok, option is messed...

w847jk.jpg

Share this post


Link to post
Share on other sites

Sorry, but I don't understand, well I understood that it's meant to be so, but not why...

Isn't there a way to have proportional working for options too? :(

No options to do this. If you want then you can compile own Clover version. Just search "proportional" through sources and comment out a line that switch off proportional for options menu. I can tell you that proportional font is very bad for input values.

Share this post


Link to post
Share on other sites

Ok, found the source and did all the stuff from terminal do download it, but the project is huge, which is the file I should look for?

 

Sorry but I'm not the best in doing such stuff

Share this post


Link to post
Share on other sites

Hi, I want to add Chinese support to Clover F1 interface. The problem I have met is that I need a FontChinese.png like FontKorean.png.

I need some help on how to edit createFont.sh to create png which includes Chinese characters. Could someone give me suggestions?

 

This is a sample of FontKorean.png, I want to know how it was been generated.

FontKorean.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By RougeOne
      Budget Workstation MacOS 10.14.1 build: z370 AORUS Gaming 5 - i5-8600K - RX 580 - UHD 630
      flawless iGPU/dGPU integration, fast FCPX editing/rendering, great overall performance for ~$1200 / ~£1000
       
      Update: updated WhateverGreen and Lilu, then updated OS to 10.14.3 and everything is fine! Even iMessage, which previously I hadn't been able to make work, is now working - possibly the update flushed the NVRAM?
       
      I'm gonna come straight out and admit it - I used newb tools which are considered taboo on InsanelyMac, and so this isn't so much an installation guide as it is a green flag to anyone considering the same hardware. My first and previous Hackintosh project was just over ten years ago and this site was massively helpful, so this is my (very small) way of giving back.
       
      EFI DIRECTORY
      http://s000.tinyupload.com/index.php?file_id=97606131925137056003
       
      HARDWARE
      CPU: Intel i5-8600K 3.6GHz hexacore (contains UHD 630 iGPU)
      CPU Cooler: be quiet! Pure Rock Slim (no paste needed, and fan facing front)
      Mobo: GIGABYTE z370 AORUS Gaming 5 (WIFI)
      RAM: 1x 8GB CORSAIR Vengeance LPX C16 2666MHz (in first slot)
      GFX Card: Sapphire RX 580 NITRO+ SE
      SATA: used ports 0, 1, 3, 5 (HDD problems when connected to port 4)
      HDD: generic
      DVD Drive: generic
      PSU: EVGA 500W Semi Modular (but you should get 650W!)
      Case: CoolerMaster CM590 III
      Fans: 2x stock case fans (one sucky on front, one blowy on back), 3x be quiet! BL046 120mm fans (two blowy on top, one sucky on front). Airflow near-perfectly balanced.
       
      ADVICE
      With the Clover configuration, you want to pay close attention to all things relating to graphics. There are some specific settings for ACPI, Boot, Devices and Graphics which should be copied exactly in order to get the iGPU and dGPU to work in perfect harmony. For instance, make sure you use ig-platform-id 59120003 rather than 59120000 if you want FCPX to be usable. With the right settings, FCPX will not only run, but run flawlessly.
       
      I was not able to figure out how to make NVRAM/PRAM behave itself, and I got errors when I tried to issue relevant commands. As a result, I could not at first get iMessage to work properly. It worked once on my first installation attempt but not from subsequent attempts. This Clover configuration therefore has no consideration whatsoever toward iMessage reliability - however, iMessage ended up working somehow, anyway - I noticed it after I'd updated to 10.14.3 but this may just have been coincidence.
       
      Onboard WiFi does not work. There is no driver for it. I'm using wired ethernet to a bridge router as it was cheaper than getting a compatible PCI card.
       
      Audio is working well after I installed the z370 audio patch, then the ALC1220 codecs, then AppleALC.
       
      With kexts for generic 3rd party SATA and generic 3rd party eSATA, my HDDs and DVD drive work perfectly well.
       
      Sleep/Wake functions run perfectly. iCloud functions run perfectly. Shutdown leaves the mobo LEDs on, annoyingly.
       
      My USB 3 ports seem to suffer from low power output, and I don't know why.
       
      Overall, this system appears to run about as well under MacOS 10.14 Mojave as it does under Windows 7. I would solidly recommend this build to anyone looking to build a computer for workstation purposes, on a budget.
    • By JhonneR
      Good morning, everyone, I'm sorry if I was wrong in choosing the topic but I need help.
      I have found it extremely difficult to mount a Hackintosh in my acer.
      Setup;
      I5 2430m 2.4 6GB RAM
      Mobo P5we0 - Intel intel Graphics 3000
      At the moment I have not found out what my audio codecs are.
      but I'll leave the link on the motherboard.
      however, my real problem is several.
      I have already used the itakos image, I have already used several images that could be installed normally and that after installing the image I do not have internet via cable or wireless.
      And another, I already looked in other forums and I know that I will be called a donkey in the logical question but I have not been able to install the [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] or clover to start from the Hard Disk, so I do not know what to do.At the moment I still do not know if there has already been someone who has already installed the High Sierra or just the Sierra in this notebook model and obtained permanent success.
      If anyone can help me, I'll be grateful.
      Installations without success, but with the system already installed in ACER;
      SIERRA
      HIGH SIERRA
      MOJAVE
      All with the same symptom. Starting only by the bootable USB stick and without internet connection via cable and wireless.
      Appreciate ! Acer 5750 Official Page
    • By Slice
      Since rev 4844 Vector Themes are supported and there are ready-to-use Clovy by Clovy, cesium by Slice and BGM_SVG by Blackosx.
      You may see it's structure to create own theme
      -------------------------------------------------------------------------------------------------------------------------------------------------------
       
       
      Now I want to add vector graphics support in Clover. See rev 4560 and later.
      It is not working yet but designers may begin to create Vector Themes.
      It supposed to consist of SVG elements and has design size. It will be rendered to any screen size scaled from design size.
       
      What application in macOS can create SVG graphics?
      Inkscape is not working in macOS 10.11+. Pity.
      LibreOffice Draw works with SVG but buggy.
      Boxy SVG cost 10$ but looks good enough. It creates the best in simplicity files and have more then enough features.
      Illustrator is good but expensive.
       
      How to improve SVG file?
      Clover has restricted support for SVG. It is your job to make compatible file and as small as possible to speedup rendering.
      Some helps:
      Help:Inkscape – From invalid to valid SVG Inkscape files
      From invalid to valid SVG Adobe Illustrator files
      From invalid to valid SVG files of other editors: BKchem, ChemDraw and CorelDRAW
      Help:Illustrator – Assistance with creating and saving SVG images in Adobe Illustrator that will pass W3C validation
      User:Quibik/Cleaning up SVG files manually
      Later I will write own instructions specific to Clover abilities.
       
      How to create SVG fonts?
      You can google to find ready-to-use SVG fonts.  I found some problems with too beaty fonts: slow rendering and overflow crash. Be careful.
      You can get ttf or otf fonts and convert them into svg by using online WEB services. Not a problem to google.
      But then I want to find a way to simplify the font to reduce a size and speedup rendering.
      You can create own font by FontForge It is opensource and available for Windows, Mac and GNU+Linux. It creates otf font which you can convert to svg font.
       
      Pictures from Badruzeus
      https://www.insanelymac.com/forum/applications/core/interface/file/attachment.php?id=301597
    • By gengik84
      Ciro82==>>Thanks
      Uno dei tre Requisiti:
      Hack funzionante Mac vero Macchina virtuale Impostazioni Bios per il boot:
      Cercate una voce  del tipo “Sata Mode”e settatela  in AHCI
      Secure Boot: disabilitare o altri sistemi operativi
      CSM: UEFI o LEGACY, oppure a secondo del tipo di installazione
      VT-x / VT-d disable
      *Nota: Secure boot e csm valido solo per bios UEFI
      Materiale Occorrente 
      "OS X (Versione App.Store)”
      USB 8GB  *nota: nel caso di usb superiori dovrà essere partizionata, in modo da avere una partizione su cui "lavoreremo,di questa dimensione
      ShowAllfiles 
      kext Wizard 
      Bootloader Clover_2.3k_r xxx:                   http: //sourceforge.n.../cloverefiboot/
      Clover Configurator:                                    http: //mackie100proj...a.org/download/
      FakeSmc.kext:                                            https://github.com/kozlek/HWSensors/releases
      In allegato,a fondo pagina troverete un "pacchetto" contenente : ShowAllfiles, Kext Wizard, FakeSmc.kext: 
      App alternative:
      ESP Mounter Pro: per montare la partizione EFI
      Vi illustrerò tre metodi per creare la usb, ma sono ben distinti… quindi usatene soltanto uno
      Metodo 1: “Install Mac_OS_X.command” Metodo 2: “Create Install Media di Apple” Metodo 3:  Metodo Manuale Alla fine delle preparazione dell’installer, tutti i metodi necessitano l’installazione del Bootloader Clover sulla a vostra USB.
      “CONDIZIONI OBBLIGATORIE”
      PUNTO 1: che la vostra usb sia stata preventivamente nominata USB (caratteri maiuscoli) Tabella di partizione GUID e la formattazione in  Mac esteso Journaled.
      PUNTO 2: che l’installer di OSX si trovi in Applicazioni
      Utility Disco 
      Selezionate la pendrive, andate su “partizione”, selezionate “1 partizione”, impostate Mac OS esteso journaled e date il nome USB, poi in basso cliccate su opzioni e scegliete Tabella partizione (GUID), poi “applica”.
      Immagine 
      Riporto nuovamente l’operazione sopra citata adoperando dal nuovo Utility Disco introdotto su El Capitan.
      Rimane ovviamente invariato nome della usb in ==>> USB (maiuscolo), la formattazione in Mac esteso Journaled e sia la mappa partizione in GUID
      Da utility disco selezionate la usb, cliccate su inizializza.
      dal menù a tendina scegliete la relative impostazioni
      Immagine  
      Procedura effettua da High Sierra è la stessa della precedente, l'unica attenzione e operazione da aggiungere in primis  è cliccare nel menù a tendina in alto sulla sinistra di utility disco e selezionare "mostra tutti i dispositivi"
      Immagine 
       
      =====================
        METODO 1: "Install_Mac_OS_X.Command" Lo script che trovate allegato in fondo alla guida permette la creazione dell’installer in maniera automatica
      Include la possibilità di scelta di tre versioni di osx
      Yosemite El Capitan Sierra Il risultato finale è come quello del metodo "manuale" descritto nella guida, per cui l'installazione avverrà in un solo passaggio, non in due come con il metodo createinstallmedia. 
      Offre inoltre la possibilità di inserire un kernel patchato, utile, per esempio, per chi usa AMD.
      Rimane invariato il nome dato alla usb in USB, mappa partizione e tipo di formattazione
      Se la vostra usb non sarà rinominata nel modo corretto, verrete avvisati dal terminale, quindi non dovrete far altro che apportare la relativa modifica e rilanciare nuovamente lo script
      Esempio
      ===========================
      Metodo 2 
      L'intento è quello di usare la procedura fornitaci direttamente da Apple, "createinstallmedia", introdotta  con Mavericks. 
      Tale metodo prevede l’uso del terminale che via via se ne sta perdendo il “valore e l’uso”
      Inizialmente per i neofiti potrà sembrare problematico ma alla fine non è così.
      Durante il post installazione alcune operazioni ne richiedono l’ uso.
      Perciò mi sono chiesto perchè, qualora uno volesse, non far conoscere da subito un po’ questo “strumento”???
      Per favorirvi vi ho allegato i comandi già  “pronti”, i quali li potrete copiare ed incollare sul terminale.
      A questo punto aprite il terminale, copiate ed incollate il comando sottostante e premete invio, digitate la vostra password e premete nuovamente invio.
      Comando per creare USB con Yosemite:
      sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction  
      Comando per creare USB con El Capitan
      sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction Comando per creare USB con Sierra 
      sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ macOS\ Sierra.app/ --nointeraction Per creare USB con Hight Sierra o Mojave usate --> C_I_M (aggiornato per 10.14)
       
      Funziona con il drag & drop sul terminale, in questo caso non vi è necessità che la usb sia nominata in un determinato modo ed essendo basato su create install media ovviamente funziona da 10.9 a 10.14.... 
      BENE…IL PROCESSO DI CREAZIONE E’ INIZIATO…
      AVREMO CIRCA 20/30 MINUTI DI TEMPO LIBERO A CUI DEDICARSI A CIO’ CHE VOGLIAMO………………………………………..  
      COLGO L’OCCASIONE PER FARVI NOTARE LA VELOCITA’ E LA SICUREZZA DI QUESTO METODO
      CONFRONTATE QUESTO CON IL TERZO METODO E NOTERETE CHE CON UN SOLO PASSAGGIO, OSSIA IL COMANDO DATO AL TERMINALE, FACCIAMO IN UNA SINGOLA OPERAZIONE TUTTI I VARI STEP DESCRITTI SULL’ ALTRO METODO.
      DETTO QUESTO, MOLTO IMPORTANTE E’ SOTTOLINEARE CHE COSI’ FACENDO EVITEREMO ERRORI  DI DISTRAZIONE RIGUARDO AI PASSAGGI O FRAINTENDIMENTI.
      Immagine 
      Potete adesso passare ad installare il bootloader Clover sulla vostra usb.
      *NOTA*:
      Avendo usato questo metodo l'installazione si dividerà in due fasi, perciò dopo il primo riavvio e necessario far partire nuovamente l'installer, selezionare lo stesso disco senza formattarlo.
      Finita questa ulteriore fase , l'installazione sarà terminata
      =========================
      METODO "MANUALE"....  (lascio per futura memoria-Compatibile fino a 10.12)
      ==========================
      Bootloader
      **Nota:** Installazione in UEFI  dipenderà dalla scheda madre in vostro possesso, quindi se non supporta tale opzione , il bootloader dovrà essere installato in  modalità Legacy.
       Vi invito, qualora non sapeste questa informazione, a recarvi nel sito ufficiale del produttore e controllare le informazioni a riguardo
      Fatto questo dobbiamo installare  Clover sulla usb.
      A seconda del tipo di Bios o al tipo di installazione che vogliamo fare UEFI o Legacy avremo ovviamente configurazioni diverse in questa fase.
      Lanciate il pkg.
      Immagine 

       
      Cambiate la destinazione di installazione ad USB oppure Install Mac_OS_X (a secondo del tipo di creazione eseguita)
      Successivamente clicchiamo su "Ad Hoc"
      Per Installazione UEFI
      Mettete i flag   : Installazione solo per avvio UEFI
                               : installare Clover nella ESP
                               : Driver64UEFI  AptioMemory --> (consigliato) 
                               : Driver64UEFI  ApfsDriverLoader --> (consigliato) --> sostituisce l'uso del driver apfs.efi
                               : Selezionate l'altri driver come da successiva immagine,
       
      *Nota: Altri driver che si possono usare  al suo posto  sono:
       informazioni 
       
      Proseguite con l’installazione.
      Immagine 
      ** Ricordate che avrete accesso a questa cartella dopo aver montato la partizione EFI**
      ===========================
      Per installazione Legacy
      Immagine 
      ===========================
      Impostazione per config.plist:
      Con clover configurator “montate” la partizione EFI della usb.
      1) Per fare questo nel menù di sinistra, cliccate su “Mount EFI”
      2) individuate la partizione relativa alla vostra usb, a questo punto montiamo la relativa partizione EFI  selezionando l’apposito pulsante “Mount Partition”
      Immagine 
      3) Successivamente cliccate su “Open Partition”.. recatevi in EFI/Clover ed aprite il config.plist
      4) Sezione ACPI: Disabilitate tutti i fix sia del menù 1 che del menù 2
      Immagine 
      5) Sezione BOOT: Sole se si sta installando Yosemite mettete il flag su kext-dev-mode=1
      Immagine 
      6) Sezione RT Variables: Se si sta installando El Capitan oppure Sierra, aggiungere i valori: BooterConfig= 0x28, CsrActiveConfig= 0x67
      Immagine 
      7) Sezione System Parameters: Su inject kext mettete YES
      Immagine 
      ===========================
      Nota: Su El Capitan, è stato introdotto SIP (System Integrity Protection)
      Info:
      ===========================
      Recatevi in EFI/Clover/kext/10.x 
      X= alla versione di osx che state installando. Per esempio se installerete Yosemite dovrete recarvi nella cartella 10.10, con El Capitan in 10.11….ecc
      Se non ci fosse tale cartella, createla e nominatela voi a “modo”.
      Copiatevi all’interno FakeSmc.kext
      *Nota se venite già da altre vostre configurazioni, oltre kext sopra citato ,potete mettere gli altri necessari per il vostro hardware
      Stessa cosa se avete DSDT e/o SSDT potete copiarli in EFI/Clover/Acpi/Patched
      Immagine 
      
      Per High Sierra:
      Scaricare il driver apfs.efi a fine guida, collocarlo:
          --> EFI/clover/Driver64UEFI se stiamo usando UEFI
      --> EFI/Clover/Driver64 se stiamo usando Legacy
       
      Per chi volesse continuare ad usare HFS vi rimando a questo post:
        Come installare High Sierra in HFS direttamente dalla usb  
      Utenti Laptop:  Nel 99% è obbligatorio disattivare la grafica discreta Nvidia/Amd per installare questo nuovo osx
                                     Quindi aggiungete --> SSDT-Disable_DGPU.aml.zip
                                     in EFI/Clover/acpi/Patched della usb
      --------------------------------------------------------------------
      Per Mojave:
      Scaricare il driver apfs.efi per 10.14 a fine guida, collocarlo:
          --> EFI/clover/Driver64UEFI se stiamo usando UEFI
      --> EFI/Clover/Driver64 se stiamo usando Legacy
      Versione di clover non antecedente a V_4015
      Volete usare HFS?
      E' possibile fare un installazione diretta su altro disco o partizione, nel caso può essere usato anche per effettuare aggiornamenti...
      nel caso guardate...
       Mojave in HFS 
       Oppure direttamente da usb  
       
      Fatto questo avrete la vostra USB bootable per installare OSX.
      ………Non scordatevi Fakesmc.kext da mettere nella relativa cartella…. senza il quale non farete mai il Boot......
      *NOTA: se usato il terminale per la creazione della usb, l'installazione si dividerà in due fasi, perciò dopo il primo riavvio e necessario far partire nuovamente l'installer, selezionare lo stesso disco senza formattarlo.
      Finita questa ulteriore fase , l'installazione sarà terminata
      **NOTA** Se avete processori Broadwell,Skylake o Kabylake...usate FakeSmc.kext e relativi sensors che trovate all'interno del secondo pacchetto.. (potete usarlo anche sui precedenti senza problemi, essendo una versione più aggiornata ha ulteriore supporto per le cpu più recenti)
      Update: Fakesmc e sensors versione 6.26
      Post installazione... post #2           
       Buon Hack….. 
      Aggiornamento:Install_Mac_OS_X.command.zip (compatibile da 10.10 a 10.12)
      le info le trovate a questo post
      Ringrazio @Ciro82 che mi ha aiutato nel preparare questa guida.
      Pacchetto.zip
      Pacchetto-2.zip
      apfs.efi-10.13-NoLog.zip
      Pacchetto-Fake+Sensors 6.26.1440.zip
      apfs.efi-10.13.1-No_LOG.zip
      apfs.efi-10.13.2_No_Log.zip
      apfs.efi-10.13.3-No_Log.zip
      apfs.efi-10.13.4-No_Log.zip
      apfs.efi-10.13.5_No_Log.zip
      C_I_M.zip
       
      apfs.efi-10.14-beta1_No_Log.zip





       

    • By blackosx
      I've created a new tool to help with Clover vector themes. It's a perl script that will search and globally replace RGB hex colours in the format #000000 and replace them with new calculated RGB hex colours using the adjustments you ask for.
       
      https://bitbucket.org/blackosx/cloversvgthemeadjuster
       
      You can download it using:
      git clone https://bitbucket.org/blackosx/cloversvgthemeadjuster.git See the usage instructions on the README.
       
      Current Version
      0.0.5 (changelog)
       
      Overview
      The script identifies all colours in the theme file and applies adjustments to the hue, saturation and lightness before saving a new file. The adjustments can be progressively increased in a loop to generate multiple files.
       
      Example:
       
      Using the following commands to adjust the hue:
      perl AdjustThemeColour.pl -20 0 0 10 perl AdjustThemeColour.pl +20 0 0 10 Against my original Silver theme

       
      Can generate multiple variations and choose one I like
       

       
      Say, this one...
       

       
      ** Of course, this type of adjustment will not work on all themes. It all depends on what colours have been used in the design.
       
      Or how about a de-saturated BGM_SVG?
       

       
       
      Known Issues
      - There's always a possibility that a newly replaced hex value may match an already existing hex value which is due to be changed afterwards. This would mean that the newly replaced colours will then be replaced incorrectly. The likely hood of this happening increases with the more colours used in the theme.
       
       
       
×