Thank you Pels for pointing out that the 1841 entry is really "n k Hufman".
At St Helen's Church in Ashby de la Zouch, the Officiating Minister was probably hard pushed with the foreign names of the Prisoners of War who came in to be married. This is what the vicar or cleric wrote at the top of the Parish Record Marriage of AJH.

There is something very strange about the way that Hoffmann is written. But it is perhaps explained by the 1841 Census of Measham that attributes the surname "Offman" to the second son of AJH. With that in mind, if you look again at the image above you can imagine that the Vicar originally wrote "Offman" but after AJH had signed his name, the vicar added the H at the beginning, and if you look very carefully, that last n is out of line with the previous letters.
But the important thing is that the index of marriages will record the name that is there after the vicar had finished his writing and corrections - Hoffmann with an "H" and two "n"s.