fixed image company logo
@@ -118,7 +118,7 @@
|
||||
\ifx\BCQ@data@height\@empty
|
||||
\def\Xcompanylogoheight{1.5em}%
|
||||
\else
|
||||
\def\Xcompanylogoheight{\BCQ@data@height}%
|
||||
\edef\Xcompanylogoheight{\BCQ@data@height}%
|
||||
\fi
|
||||
\setlength{\BCQ@companybrandingheight}{\Xcompanylogoheight}%
|
||||
\fi
|
||||
@@ -234,7 +234,7 @@
|
||||
\ifx\BCQ@companylogo@height\@empty
|
||||
\def\Xcompanylogoheight{1.5em}%
|
||||
\else
|
||||
\def\Xcompanylogoheight{\BCQ@companylogo@height}%
|
||||
\edef\Xcompanylogoheight{\BCQ@companylogo@height}%
|
||||
\fi
|
||||
\setlength{\BCQ@companybrandingheight}{\Xcompanylogoheight}%
|
||||
}
|
||||
@@ -270,6 +270,8 @@
|
||||
\newsavebox{\BCQ@logobox}
|
||||
\newlength{\BCQ@logoheightdimen}
|
||||
\setlength{\BCQ@logoheightdimen}{0pt}% initialize to prevent errors
|
||||
\newlength{\BCQ@bgimagedimen}
|
||||
\setlength{\BCQ@bgimagedimen}{0pt}
|
||||
\newlength{\BCQ@reservedheight}
|
||||
\newlength{\BCQ@heightscale}
|
||||
\newlength{\BCQ@namewidth}
|
||||
@@ -584,7 +586,7 @@ END:VCARD\BCQ@nl}
|
||||
\begin{minipage}[c][\heightscale][c]{\imagepercents\textwidth}
|
||||
\begin{tikzpicture}
|
||||
% White background behind QR code (for readability over background images)
|
||||
\node[fill=white, opacity=\fpeval{\BCQ@qrbgopacity@used}, inner sep=0pt, outer sep=2mm, minimum size=\textwidth] (bg) at (0,0) {};
|
||||
\node[fill=white, opacity=\BCQ@qrbgopacity@used, inner sep=0pt, outer sep=2mm, minimum size=\textwidth] (bg) at (0,0) {};
|
||||
% QR code on top
|
||||
\node[inner sep=0pt, outer sep=0pt] (qr) at (0,0) {%
|
||||
% QR code with optional qrlogo overlay in center
|
||||
@@ -711,8 +713,9 @@ END:VCARD\BCQ@nl}
|
||||
\AddToShipoutPictureBG*{%
|
||||
\AtPageCenter{%
|
||||
\begin{tikzpicture}[overlay]
|
||||
\node[inner sep=0pt, opacity=\fpeval{\BCQ@bgopacity@used}] at (0,0) {%
|
||||
\includegraphics[height=\fpeval{\BCQ@bgscale@used}\paperheight]{\Xbackground}%
|
||||
\node[inner sep=0pt, opacity=\BCQ@bgopacity@used] at (0,0) {%
|
||||
\setlength{\BCQ@bgimagedimen}{\dimexpr\BCQ@bgscale@used\paperheight\relax}%
|
||||
\includegraphics[height=\BCQ@bgimagedimen]{\Xbackground}%
|
||||
};
|
||||
\end{tikzpicture}%
|
||||
}%
|
||||
|
||||
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 778 KiB After Width: | Height: | Size: 779 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |