[bootlin/training-materials updates] master: Slides: fix bad mix of height and width (772e19a6)

Michael Opdenacker michael.opdenacker at bootlin.com
Fri Oct 18 17:31:04 CEST 2019


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/772e19a6487cc9d703ee1133d03ea35f394cdc90

>---------------------------------------------------------------

commit 772e19a6487cc9d703ee1133d03ea35f394cdc90
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Fri Oct 18 17:31:04 2019 +0200

    Slides: fix bad mix of height and width
    
    - When you write something like
      width=0.5\textheight,
      the result is only good by pure luck
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


>---------------------------------------------------------------

772e19a6487cc9d703ee1133d03ea35f394cdc90
 slides/graphics-software/graphics-software.tex                        | 4 ++--
 .../sysdev-root-filesystem-minimal/sysdev-root-filesystem-minimal.tex | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/slides/graphics-software/graphics-software.tex b/slides/graphics-software/graphics-software.tex
index f82622d0..dd642437 100644
--- a/slides/graphics-software/graphics-software.tex
+++ b/slides/graphics-software/graphics-software.tex
@@ -1123,7 +1123,7 @@ ret = ioctl(drm_fd, DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE, &syncobj_handle);
 \begin{frame}{Xorg architecture: input to display roundtrip}
   \begin{minipage}{0.49\textwidth}
     \centering
-    \includegraphics[height=0.8\textwidth]{slides/graphics-software/x-architecture-roundtrip.png}
+    \includegraphics[width=0.9\textwidth]{slides/graphics-software/x-architecture-roundtrip.png}
   \end{minipage}
   \hfill
   \begin{minipage}{0.49\textwidth}
@@ -1241,7 +1241,7 @@ ret = ioctl(drm_fd, DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE, &syncobj_handle);
 \begin{frame}{Wayland architecture: input to display roundtrip}
   \begin{minipage}{0.49\textwidth}
     \centering
-    \includegraphics[height=0.8\textwidth]{slides/graphics-software/wayland-architecture-roundtrip.png}
+    \includegraphics[height=0.7\textheight]{slides/graphics-software/wayland-architecture-roundtrip.png}
   \end{minipage}
   \hfill
   \begin{minipage}{0.49\textwidth}
diff --git a/slides/sysdev-root-filesystem-minimal/sysdev-root-filesystem-minimal.tex b/slides/sysdev-root-filesystem-minimal/sysdev-root-filesystem-minimal.tex
index 078a5448..8d6e030d 100644
--- a/slides/sysdev-root-filesystem-minimal/sysdev-root-filesystem-minimal.tex
+++ b/slides/sysdev-root-filesystem-minimal/sysdev-root-filesystem-minimal.tex
@@ -32,6 +32,6 @@
 \begin{frame}
   \frametitle{Overall booting process}
   \begin{center}
-    \includegraphics[width=0.8\textheight]{slides/sysdev-root-filesystem-minimal/overall-boot-sequence.pdf}
+    \includegraphics[height=0.8\textheight]{slides/sysdev-root-filesystem-minimal/overall-boot-sequence.pdf}
   \end{center}
 \end{frame}




More information about the training-materials-updates mailing list