% -*- coding: utf-8 -*-
% example_pu.tex, works with pdflatex and modern lualatex in TeX Live 2019.
% The input encoding is UTF-8 (utf8).
\documentclass{article}
\PassOptionsToPackage{hungarian}{babel}
\usepackage{uni8}
\begin{document}
% Alternatively, this works in lualatex: \language99 \patterns{ő9y}
\hyphenation{yő-yő-yő-yő-yő-yő-yő}
\showhyphens{yőyőyőyőyőyőyő}
\showhyphens{árvíztűrő tükörfúrógép}
\hrule width \hsize
\bigskip
\vbox{\Huge\hsize7em\hrule\noindent . . . . . bababababababa\hrule}
\bigskip
\vbox{\Huge\hsize7em\hrule\noindent . . . . . bábábábábábábá\hrule}
\bigskip
\vbox{\Huge\hsize7em\hrule\noindent . . . . . bőbőbőbőbőbőbő\hrule}
\bigskip
\vbox{\Huge\hsize7em\hrule\noindent . . . . . yőyőyőyőyőyőyő\hrule}
\bigskip
\vfill\hrule width\hsize
\end{document}
