Fractal dimension in information theory