Old late 70's, early 80's fantasy animated movie.D&D based?
	
	
		I would like to find the name to this movie.   All that I remember of it is that it starts in a bookstore, a young man, with glasses does or purchases something there that ends up taking him to a fantasy land.   If I remember right, it has a D&D feel to it, as though he was playing the game and ended up going there.  But of course he meets a girl, he ends up going home without the girl and is sad but when he gets to the bookstore, she's there waiting for him in modern clothing.   That's all I remember of it, the beginning and the end.  If anyone knows what I'm talking about, help would be greatly appreciated.   Thank you.