Jump to content

71 posts in this topic

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
3 hours ago, Badruzeus said:

Does Vesa mode use Graphics Acceleration?

It is not question for hardware. It is a question for drivers.

We want to have procedures to render vector graphics. SVG will be better. Minimum sources preferable.

Share this post


Link to post
Share on other sites
3 hours ago, Badruzeus said:

@Slice

My question with SVG introduction on r4560 commit is; what will happen to v2.0 themes (bitmap), will we still use them? Thanks.

 

For backward compatibility they will be supported.

Some graphics can't be converted to SVG. So new vector themes will be other themes.

 

Share this post


Link to post
Share on other sites
6 minutes ago, Slice said:

 

For backward compatibility they will be supported.

Some graphics can't be converted to SVG. So new vector themes will be other themes.

 

OK, thanks. So I think we're going to have a new thread for discussing Clover v3 theme..

Share this post


Link to post
Share on other sites
2 minutes ago, Slice said:

After the first positive result.

Will SVG with embedded PNG (bitmap) supported? Thanks.

Share this post


Link to post
Share on other sites
9 hours ago, Slice said:

There  is the first success

https://www.applelife.ru/threads/clover.42089/page-819#post-744212

Sorry, I still can't upload pictures here.

Though I think speak too early, but can you give us Vector theme's rsc name? Are they still same as prev. bitmap has: os_mac, os_linux, os_win.. etc? Thanks.

Share this post


Link to post
Share on other sites

With revision 4586 you can test how Clover can render different SVG files.

Current restrictions:

1. No text. You have to convert text to curves.

2. No embedded png. I can make this when I have a time. There is initial support that requires to define a procedure to treat the data. We have it! b64cdecode and png_decode. Just make a link to use. But PNG is not scalable so I will not recommend to use this feature even if it will work.

3. No gradients. It should be but currently is not working. Will be repaired asap.

4. Crash at too long path.

Is there anybody can propose how to reduce too complex SVG? If a svg file contains PATH with 500 points which is not practical for our purpose then I want to reduce it to 100 points with a little losing quality. How to do this? The bad file attached.

 

How to test SVG rendering

It is better to use QEMU to not reboot your computer. If you have QEMU.

Place Sample.svg into root or EFI partition with Clover. The name exactly this. Rename a file when needed.

Boot into Clover GUI. Press F8, look, press ESC.

Enter Shell:

$ fs0:

$ ls

$ mv Sample.svg A1.svg

$ mv A2.svg Sample.svg

$ exit

Press F8 and look A2 image....

clover.svg.zip

Share this post


Link to post
Share on other sites
1 minute ago, blackosx said:

Good work Slice!

 

I'll try to test this weekend.

 

I think this clover.svg.zip produces too complex paths bcoz was vectorized from bitmap with gradients.

Where we could get original vector of this Clover logo? Thanks.

Share this post


Link to post
Share on other sites
1 hour ago, Badruzeus said:

I think this clover.svg.zip produces too complex paths bcoz was vectorized from bitmap with gradients.

Where we could get original vector of this Clover logo? Thanks.

I took it from google "clover svg image".

Share this post


Link to post
Share on other sites
1 hour ago, Badruzeus said:

I think this clover.svg.zip produces too complex paths bcoz was vectorized from bitmap with gradients.

Where we could get original vector of this Clover logo? Thanks.

What software do you recommend to do SVG Themes and text? Please

Share this post


Link to post
Share on other sites
46 minutes ago, Matgen84 said:

What software do you recommend to do SVG Themes and text? Please

Inkscape is enough, or illustrator, coreldraw under windows. Use the easiest for you..

Share this post


Link to post
Share on other sites
1 hour ago, Badruzeus said:

Inkscape is enough, or illustrator, coreldraw under windows. Use the easiest for you..

Thanks a lot :)

Share this post


Link to post
Share on other sites
Posted (edited)

@Slice Cool..!!! But on my case, I lost svg image colors.. it becomes Black/White here. Using Sample.svg with no gradient for sure.. (Legacy Clover, current EFI, no-QEMU.. not sure bzoz of Legacy though). :thumbsup_anim:

screenshot0.png

Sample.svg

Edited by Badruzeus

Share this post


Link to post
Share on other sites

This is cool but I planned on having SVG only themes in v3 since an SVG document can basically create the entire theme itself, can use percentages and aspect ratio of the screen as measurements instead of pixels to ensure the theme looks the same no matter the resolution. It can contain other SVGs, paths, texts, animations, color gradients, mouse move/click events, action events, etc. Plus it allows javascript...

Share this post


Link to post
Share on other sites
On 6/29/2018 at 5:09 PM, Matgen84 said:

What software do you recommend to do SVG Themes and text? Please

 

On 6/29/2018 at 5:58 PM, Badruzeus said:

Inkscape is enough, or illustrator, coreldraw under windows. Use the easiest for you..

Inkscape is not working in macOS 10.11+. Pity.

LibreOffice Draw works with SVG but buggy.

Boxy SVG cost 10$ but looks good enough.

Illustrator is good but expensive.

2 hours ago, apianti said:

This is cool but I planned on having SVG only themes in v3 since an SVG document can basically create the entire theme itself, can use percentages and aspect ratio of the screen as measurements instead of pixels to ensure the theme looks the same no matter the resolution. It can contain other SVGs, paths, texts, animations, color gradients, mouse move/click events, action events, etc. Plus it allows javascript...

It is in future. I want to go step by step.

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 MikixIT
      Ciao ragazzi! Grazie a questo forum con gente fantastica, sono riuscito a installare OS X e in seguito Win 10 su Clover SULLO STESSO HARD DISK
      Ho un problema, di solito utilizzo Kali Linux, la famosa versione di linux in usb in live
      Ora avrei la necessita di dedicargli 15gb di partizione del mio Hard Disk PER INSTALLARLA, e l'ho fatto effettivamente creando una partizione VUOTA tramite utility disco di Sierra.
      Il problema sorge quando io vado a riavviare il pc e quindi ritrovandomi nella schermata di clover, e vedo sempre il solito OSX e il recovery Osx e al posto di Windows 10, mi trovo la partizione di 15gb che avevo creato per windows(con l'icona di windows)
      Siccome ho paura di perdere i dati importanti che avevo su windows, non ho continuato installando Kali, ma mi sono fermato e ho eliminato la partizione sempre da utility di Sierra e come per magia, riavvio e Win10 è di nuovo lì dove dovrebbe stare
      Appena creo la partizione vuota, clover me la sostituisce
      Che devo fare raga?
      Io voglio OSX,Win10 (Che già ho) e Kali(Solo 15gb) sullo stesso hard disk
      Senza perdere dati di Win o Mac
      Gengik ho visto in precedenti discussioni tue, di andare in GUI da clover config . e togliere Windows da quelli nascosti e l'ho fatto, ma il risultato non cambia.
      Grazie per la lettura
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&t=6771     First... If you need DSDT edits for SkyLake, KabyLake or CoffeeLake... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Post Ioreg, extract with Ioreg Explorer http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222606 -Run it, post files generated in your desktop http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222609  Installation   --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder  CLOVER.zip   --Install Sierra/High Sierra and boot into system!   Post Installation   --Install Clover in HDD/SSD and replace with my folder CLOVER.zip   --Reboot and activate video!   -Nvidia WebDriver Sierra http://www.insanelymac.com/forum/topic/312525-nvidia-web-driver-updates-for-macos-sierra-update-07212017/ -Nvidia WebDriver High Sierra http://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-10162017/ -Cuda http://www.insanelymac.com/forum/topic/302795-cuda-90214-is-out-update-10162017/   --DSDT My DSDT with Skylake patches DSDT.MaLd0n GA H110M-S2.zip Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI --FakeSMC https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek --Audio https://github.com/vit9696/AppleALC --USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads --LAN http://www.insanelymac.com/forum/topic/287161-new-driver-for-realtek-rtl8111/   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&t=6771   First... If you need DSDT edits for SkyLake, KabyLake or CoffeeLake... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Run it, post files generated in your desktop RunMe.app  Installation   --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder  CLOVER.zip   --Install Sierra/High Sierra and boot into system!   Post Installation   --Install Clover in HDD/SSD and replace with my folder CLOVER.zip   --Reboot and activate video!   -Nvidia WebDriver Sierra http://www.insanelymac.com/forum/topic/312525-nvidia-web-driver-updates-for-macos-sierra-update-07212017/ -Nvidia WebDriver High Sierra http://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-10162017/ -Cuda http://www.insanelymac.com/forum/topic/302795-cuda-90214-is-out-update-10162017/   --DSDT My DSDT with patches for Skylake DSDT.MaLd0n ASUS Z170M PLUS.zip   Patches -FIX ERRORS AND WARNINGS -HPET -SATA -SLPB -DMAC -DARWIN -LPC -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -IMEI -PNLF -HDMI --FakeSMC
      http://www.hwsensors.com/releases   --Audio https://github.com/vit9696/AppleALC   --USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads   --LAN https://github.com/Mieze/IntelMausiEthernet   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!
    • By thomaspetersen
      Hi All
       
      I'm trying to start a Hackintosh High Sierra 10.13.5 installation:
      - MSI B350 PC Mate
      - Ryzen 5 - 2600
      - Radeon Pro 580 GPU
      - 4 x 8GB DDR4
      (Have a working clover bootloader for HS 10.13.3 - but for some reason, I can't use that setup with the 10.13.5) 
       
      Have tried different bootloader setup, with different outcomes...
      ATM. I get this error/hang - "Unknown CPU: family = 0x17, model = 0x8, Stepping = 0x2"
      Have search google, and can see that the threads ppl. are getting this, is when they look at "About this mac", I haven't yet installed the OSX.
       
      So can someone help...

      I'm running the newest Kexts: AppleALC, FakeSMC, Lilu, RealtekRTL8111, USBInjectAll and WhateverGreen.
      In Bootloader setup, i'm running: -v, -s, -f, -no_compat_check, busratio=34, PCIRootUID=1, npci=0x2000, dart=0 and nv_disable=1
      In SMBIOS i'm using the iMac18,2 and in RT i'm using BooterConfig: 0x28 and CsrActiveConfig: 0x67
      In installed drivers i'm using: AptioMemoryFix, EmuVariableUefi-64, OsxAptioFixDrv-64 (Have tried Fix2 as well)
       
      But i'm, keep getting the Unknown CPU hang/error, can someone help...
      Or do someone have a setup with the same CPU and GPU, that can show me his/her setup for Bootloader/Kexts...
×