mateuszbaransanok / BubbleCV

This is a professional CV template inspired by the legendary secret agent James Bond. BubbleCV is designed to effectively showcase your skills, work experience, education, and contact information in a sleek and impactful manner.
Creative Commons Attribution 4.0 International
36 stars 9 forks source link

Icons Appear Black Instead of White in PDF Conversion #3

Closed ludvigjh closed 1 year ago

ludvigjh commented 1 year ago

When attempting to convert the template to PDF, the icons within the template appear in black, despite having the icon color parameter set to white. While the icons display as white in the Overleaf preview, this issue arises specifically during the PDF conversion process.

mateuszbaransanok commented 1 year ago

Hi, I never had problem before like this. What compiler and Tex live version are you using? Does the problem still occur if you change PDF viewer to Browser? Are you trying to export to PDF vanilla template or after some mortification?

ludvigjh commented 1 year ago

The compiler I am using is pdfLaTeX, and the TeX Live version is 2021. When the PDF viewer is set to Overleaf, the symbols appear in white. However, when I switch to the browser view, the symbols turn black. I have tried exporting a raw template, but the result remains unchanged.

Skjermbilde 2023-08-11 kl  17 14 27
mateuszbaransanok commented 1 year ago

Unfortunately, I can't reproduce your problem. If it is a problem with re-coloring black mask icons, you can try replacing the existing black icons in /resources with white icons (you can use any image editor to do this).

GiacomoRosato commented 1 year ago

@mateuszbaransanok How is that possible? The template is on Overleaf, it's quite straightforward to reproduce it. Btw, even inverting the colours, the result is the same.

mateuszbaransanok commented 1 year ago

My point is that for me and other people I know, the template works perfectly fine. Maybe try with another browser, another PDF program? I honestly don't know what could be causing this problem, as it works fine with me.

GiacomoRosato commented 1 year ago

Ok, so can you please give me your set up to make it work? (browser, PDF program, compiler and Tex live version etc)

mateuszbaransanok commented 1 year ago

Sure,

System: Linux Ubuntu 22.04 Browser: Google Chrome Version 115.0.5790.170 (Official Build) (64-bit) PDF program: Document Viewer 42.3 Compiler: pdfLaTeX Tex live version: 2023

Could you give me your parameters? I will also try to reproduce it using your settings.

hoffmka commented 1 year ago

I had the same problem. It seems that the problem is caused by the pdf viewer "Vorschau" on macOS. Adobe shows everything fine. Thank you, @mateuszbaransanok! It's a nice and concise CV.

mateuszbaransanok commented 1 year ago

Thank you for letting me know about this problem. I will investigate it and try to fix it.

I'm very glad you like the template :D I'd appreciate it if you join Stargazers by clicking the star at this project ;) it will really help me. Thanks in advance! :D

GiacomoRosato commented 1 year ago

As @hoffmka said, I finally realised the problem is the "Preview" app to read the PDF. By changing it, everything works as expected. Thank you for your help and the design of this template :)

679394277 commented 1 year ago

Hello, this template is very nice and concise. However, I have issues changing the James Bond avatar . I wish replace that with another image or better still remove it. How can I go about that? Thank you

679394277 commented 1 year ago

I equally wish to modify the icon colors from black to cyan. Please I need help Thank you

mateuszbaransanok commented 1 year ago

Hi, the template was designed with an image. If you don't want it, you can replace it with some nice image. Simply replace the image with resources/avatar.png or add a new one with a custom name, then provide it to begin{cv}[custom-name]{James Bond}{Secret Agent}. There is also a way to remove the image by setting this parameter in the bubblecv.sty file as follows:

\newcommand\cvavatarradius{10}
\newcommand\cvavatarborderwidth{10}
\newcommand\cvheaderoffset{0}

but in my opinion the resume looks worse. To change the colors of the bubbles, just set the main color of the resume with \definecolor{cvcolor}{RGB}{0, 255, 255} (the cyan color in RGB is {0, 255, 255}). I recommend choosing darker colors to contrast more with the white paper ;) .

679394277 commented 1 year ago

Thank you for your reply. Great template. Keep up the good work

On Sat, 30 Sept 2023 at 12:32, Mateusz Baran @.***> wrote:

Hi, the template was designed with an image. If you don't want it, you can replace it with some nice image. Simply replace the image with resources/avatar.png or add a new one with a custom name, then provide it to begin{cv}[custom-name]{James Bond}{Secret Agent}. There is also a way to remove the image by setting this parameter in the bubblecv.sty file as follows:

\newcommand\cvavatarradius{10} \newcommand\cvavatarborderwidth{10} \newcommand\cvheaderoffset{0}

but in my opinion the resume looks worse. To change the colors of the bubbles, just set the main color of the resume with \definecolor{cvcolor}{RGB}{0, 255, 255} (the cyan color in RGB is {0, 255, 255}). I recommend choosing darker colors to contrast more with the white paper ;) .

— Reply to this email directly, view it on GitHub https://github.com/mateuszbaransanok/BubbleCV/issues/3#issuecomment-1741745753, or unsubscribe https://github.com/notifications/unsubscribe-auth/BC55USBOA3XYSUWVNQX2MW3X477M5ANCNFSM6AAAAAA3L7ODAQ . You are receiving this because you commented.Message ID: @.***>

martinzillmer commented 11 months ago

Hope this reply can help.

DerCarlauer commented 7 months ago

The template is really great. Thanks for creating it @mateuszbaransanok. Could you please open this issue again? The above solution does not seem to work.

A CV is used for job applications and therefore it should look as desired in any setup. You don't know which PDF viewer the potential employer is using. And asking them to use a specific PDF viewer seems quite unprofessional to me. So it would be great if we could find a fix here so that the work you put into your CV before realising the above issue is not in vain.

martinzillmer commented 7 months ago

If you want to use the default black/white color scheme, and easy workaround is to change line 218 in the bubblecv.sty to

decodearray={1 0 1 0 1 0}]{#1}%

from

decodearray={\customdecodearray}]{#1}%

Essentially, the colours of the pictures in the resources folder need to be inverted, and the decode array value of {1 0 1 0 1 0} takes the negative of the r, g, and b colors (though other decode arrays can be explored, using decimal values between 0 and 1).

That solved the issue for me at least, so i hope it will do the same for you.

mateuszbaransanok commented 7 months ago

Hi @DerCarlauer, sorry you had to wait so long. I bought my first MacBook a few days ago, so I am finally able to take a closer look at the issue.

The problem is not trivial and lies in the decodearray argument of includegraphics function. I'm afraid there's nothing I can do, because apparently not every PDF reader supports color mapping like the one in macOS.

I agree that by default the template should work on any pdf reader, so I will set the icons to white as originally intended. To change the color of the icons, use a proper tool such as GIMP.

That's all I can help for now, but I will continue to look for a solution. Keep a cross fingers ;)