Jump to content

Vector Themes


Slice
 Share

455 posts in this topic

Recommended Posts

I know there are bugs. I will fix them next my future.

But now I want to introduce new feature: vector font drawing.

Raster theme uses only one font and currently we just rasterize SVG font to get the same state.

But using vector graphics we also can use vector font drawing so different text will be different styles.

See results

Снимок экрана 2018-11-10 в 13.31.22.png

 

Снимок экрана 2018-11-10 в 13.32.03.png

 

Снимок экрана 2018-11-10 в 13.32.22.png

 

This is the theme and external fonts to do the work. I am not sure to commit it instead of Clovy theme. 

TestTheme.zip

  • Like 6
Link to comment
Share on other sites

Having vector fonts we can use even Chinese

Снимок экрана 2018-11-12 в 22.47.21.png

Sorry, I understand nothing here so if there is somebody knowing Chinese then you can construct a small font containing only needed glyphs to show Clover help in Chinese.

Sample svg file containing just 4 glyphs.

Chinese.svg

 

And F1 page contains more characters

      case chinese:
        AddMenuInfo(&HelpMenu, L"ESC - 离开子菜单, 刷新主菜单");
        AddMenuInfo(&HelpMenu, L"F1  - 帮助");
        AddMenuInfo(&HelpMenu, L"F2  - 保存 preboot.log 到 EFI/CLOVER/misc/ (FAT32)");
        AddMenuInfo(&HelpMenu, L"F3  - 显示隐藏的启动项");
        AddMenuInfo(&HelpMenu, L"F4  - 保存原始的 DSDT 到 EFI/ACPI/origin/ (FAT32)");
        AddMenuInfo(&HelpMenu, L"F5  - 保存修正后的 DSDT 到 EFI/ACPI/origin/ (FAT32)");
        AddMenuInfo(&HelpMenu, L"F6  - 保存 VideoBios 到 EFI/misc/ (FAT32)");
        AddMenuInfo(&HelpMenu, L"F10 - 保存截图到 EFI/misc/ (FAT32)");
        AddMenuInfo(&HelpMenu, L"F11 - 重置 NVRAM");
        AddMenuInfo(&HelpMenu, L"F12 - 推出选中的卷 (DVD)");
        AddMenuInfo(&HelpMenu, L"空格 - 关于选中项的详情");
        AddMenuInfo(&HelpMenu, L"数字 1-9 - 菜单快捷键");
        AddMenuInfo(&HelpMenu, L"A - 关于");
        AddMenuInfo(&HelpMenu, L"O - 选项");
        AddMenuInfo(&HelpMenu, L"R - 软复位");
        AddMenuInfo(&HelpMenu, L"U - 退出");
        break;

Same about korean.

Is there anybody wants to implement other languages?

  • Like 5
Link to comment
Share on other sites

My legacy desktop (system 2 in signature with ATI HD5770) reboots immediately after scanning volumes but before reaching Main GUI when using Clovy theme or switching to Clovy theme after commit r4750

 

Debug boot log attached.  System boots fine when using other themes eg BGM. 

 

My other systems have no issues booting with Clovy theme, but I noticed a stray semi colon ";"  just below the text "Boot macOS from macOS" in the screenshot of the initial GUI screen below...

 

screenshot0.thumb.png.1d978132b5c66fbb0b698d1eccf0b078.png

debug_r4750.log

  • Like 2
Link to comment
Share on other sites

On 11/12/2018 at 2:55 PM, Slice said:

Having vector fonts we can use even Chinese

Снимок экрана 2018-11-12 в 22.47.21.png

Sorry, I understand nothing here so if there is somebody knowing Chinese then you can construct a small font containing only needed glyphs to show Clover help in Chinese.

Sample svg file containing just 4 glyphs.

Chinese.svg

 

And F1 page contains more characters


      case chinese:
        AddMenuInfo(&HelpMenu, L"ESC - 离开子菜单, 刷新主菜单");
        AddMenuInfo(&HelpMenu, L"F1  - 帮助");
        AddMenuInfo(&HelpMenu, L"F2  - 保存 preboot.log 到 EFI/CLOVER/misc/ (FAT32)");
        AddMenuInfo(&HelpMenu, L"F3  - 显示隐藏的启动项");
        AddMenuInfo(&HelpMenu, L"F4  - 保存原始的 DSDT 到 EFI/ACPI/origin/ (FAT32)");
        AddMenuInfo(&HelpMenu, L"F5  - 保存修正后的 DSDT 到 EFI/ACPI/origin/ (FAT32)");
        AddMenuInfo(&HelpMenu, L"F6  - 保存 VideoBios 到 EFI/misc/ (FAT32)");
        AddMenuInfo(&HelpMenu, L"F10 - 保存截图到 EFI/misc/ (FAT32)");
        AddMenuInfo(&HelpMenu, L"F11 - 重置 NVRAM");
        AddMenuInfo(&HelpMenu, L"F12 - 推出选中的卷 (DVD)");
        AddMenuInfo(&HelpMenu, L"空格 - 关于选中项的详情");
        AddMenuInfo(&HelpMenu, L"数字 1-9 - 菜单快捷键");
        AddMenuInfo(&HelpMenu, L"A - 关于");
        AddMenuInfo(&HelpMenu, L"O - 选项");
        AddMenuInfo(&HelpMenu, L"R - 软复位");
        AddMenuInfo(&HelpMenu, L"U - 退出");
        break;

Same about korean.

Is there anybody wants to implement other languages?

I would love to help adding Chinese, but I need a guide explaining the process.

Link to comment
Share on other sites

What guide do you need? A font containing ALL chinese hieroglyphs has a size of 36Mb. It is not reliable.

You have to choose only used hieroglyphs and reduce a font to contain only needed characters.

  • Like 1
  • Sad 1
Link to comment
Share on other sites

Interesting... I've been working on my BGM_SVG and found that it's causing Clover to fail so I thought I'd made a mistake in my theme file somewhere.. So if Clovy is also not working then maybe it's something in Clover?? I've not checked.. I'll test with a previous revision later.

  • Like 1
Link to comment
Share on other sites

1 minute ago, blackosx said:

Interesting... I've been working on my BGM_SVG and found that it's causing Clover to fail so I thought I'd made a mistake in my theme file somewhere.. So if Clovy is also not working then maybe it's something in Clover?? I've not checked.. I'll test with a previous revision later.

I test r4769 on VirtualBox, just found an issue after switching to Raster theme; Clovy (Vector) shows no font / blank.

On real mach however (Nvidia GT 520M Vesa) it just freezes (only after theme switch, no problem if Clovy=default).

  • Like 1
Link to comment
Share on other sites

45 minutes ago, blackosx said:
Interesting... I've been working on my BGM_SVG and found that it's causing Clover to fail so I thought I'd made a mistake in my theme file somewhere.. So if Clovy is also not working then maybe it's something in Clover?? I've not checked.. I'll test with a previous revision later.


Well I just re tested switching to Clovy and it worked Clover 4768. Doesn’t look right though. Screenshot to follow.
screenshot0.thumb.png.72a464786288f83b6e9b3efd22c41f96.png

Sent from my iPhone using Tapatalk

Edited by SavageAUS
  • Like 1
Link to comment
Share on other sites

17 minutes ago, Slice said:

This small issue will be corrected soon.

Only OS icons is visible

359301267_Capturedcranle2018-11-2208_28_04.thumb.png.133a8ced878d41ae2808b8b72ad145a1.png

 

This is the GUI I have in Clovy latest Clover

screenshot0.thumb.png.abb17257e1a2b392a2b7d95c7b2a142e.png

Edited by chris1111
  • Like 1
  • Sad 1
Link to comment
Share on other sites

I am posting here a 'work-in-progress' BGM_SVG theme for testing and also so users can have another SVG theme to play with.

 

Please note that some icons are blank, or empty, while others are unfinished and need refinement. Radio buttons and checkboxes are out of alignment and some menus may not fit nicely etc. There will be many changes as I continue to work on it and I'll post updates when I can.

 

The theme works in Clover but is not yet properly configured like Clovy, so previewing in the Finder or another SVG viewer will not show a nice looking 'screenshot'.

 

I would like to hear any reports of what works, what doesn't and how it looks at different resolution etc.

 

EDIT: Attachment removed

 

Edited by blackosx
  • Like 2
Link to comment
Share on other sites

27 minutes ago, blackosx said:

I am posting here a 'work-in-progress' BGM_SVG theme for testing and also so users can have another SVG theme to play with.

 

Please note that some icons are blank, or empty, while others are unfinished and need refinement. Radio buttons and checkboxes are out of alignment and some menus may not fit nicely etc. There will be many changes as I continue to work on it and I'll post updates when I can.

 

The theme works in Clover but is not yet properly configured like Clovy, so previewing in the Finder or another SVG viewer will not show a nice looking 'screenshot'.

 

I would like to hear any reports of what works, what doesn't and how it looks at different resolution etc.

 

BGM_SVG_v0.03a.zip

OMG, looks pretty awesome with 5K Virtual Display (5120x2880 px) yeiy :thumbsup_anim:

Vector theme is interesting..!!!

VirtualBox_Clover Bootloader_22_11_2018_23_05_21.png

Edited by Badruzeus
  • Like 2
Link to comment
Share on other sites

On 11/20/2018 at 12:52 PM, SavageAUS said:

Is the new Clovy theme still broken? Selecting it freezes GUI and clover won’t boot with it as selected theme.


Sent from my iPhone using Tapatalk

Yes, I confirmed the bug. Debugging now...

Link to comment
Share on other sites

 Share

×
×
  • Create New...