Contrary to a common myth, J.K. Rowling's handwriting is not used in the published Harry Potter books. The typefaces vary by edition, publisher, language, and even print run—but they are professional fonts, not facsimiles of the author's script.
Font choice affects readability, page count, and production cost. Publishers select typefaces that balance literary feel with legibility for young readers. Special editions (illustrated, large-print, dyslexia-friendly) use different fonts entirely—e.g., Lexie Readable or OpenDyslexic for accessibility versions.
If you're designing fan materials and want an "authentic" look, Adobe Garamond Pro (body) paired with a custom hand-drawn header style comes closest to the U.S. first-edition feel.