I tried to draw hydantoin's structure with the code like this:
\documentclass{report}
\usepackage[utf8]{inputenc}
\usepackage{chemfig}
\def\Hv@scale{0.65}
\makeatother
\DeclareMathAlphabet{\foo}{OT1}{phv}{m}{n}
\renewcommand*\printatom[1]{\ensuremath{\foo{#1}}}
\makeatother
\setchemfig{double bond sep = 0.20700 em,
fixed length = false,
bond offset = 0.18265 em,
bond style={line width=0.50pt},
atom sep = 1.2 em}
\begin{document}
\begin{figure}[h!]
\centering
\chemfig{*6(-=*6(-O--(-=^[:-30]*5(-[2,2]HN-(=O)-NH-(=O)-))=-)-=-=)}
\end{figure}
\end{document}
and the output:
However, I expect to draw something like this:
The bond is supposed to connect with nitrogen atom not hydrogen. How to adjust the bond between nitrogen atom and carbon atom correctly? I've tried guanine example in chemfig documentation (page 42) but it didn't work. Thank you for your explanation.